PMD Results
The following document contains the results of PMD 7.17.0.
Violations By Priority
Priority 1
com/jsql/model/accessible/engine/ExploitDerby.java
| Rule | Violation | Line |
|---|---|---|
| AvoidFileStream | Avoid instantiating FileInputStream, FileOutputStream, FileReader, or FileWriter | 97 |
com/jsql/model/accessible/engine/ExploitH2.java
| Rule | Violation | Line |
|---|---|---|
| AvoidFileStream | Avoid instantiating FileInputStream, FileOutputStream, FileReader, or FileWriter | 137 |
com/jsql/model/accessible/engine/ExploitHsqldb.java
| Rule | Violation | Line |
|---|---|---|
| AvoidFileStream | Avoid instantiating FileInputStream, FileOutputStream, FileReader, or FileWriter | 96 |
com/jsql/model/accessible/engine/ExploitMysql.java
| Rule | Violation | Line |
|---|---|---|
| AvoidFileStream | Avoid instantiating FileInputStream, FileOutputStream, FileReader, or FileWriter | 97 |
| AvoidFileStream | Avoid instantiating FileInputStream, FileOutputStream, FileReader, or FileWriter | 484 |
com/jsql/model/accessible/engine/ExploitPostgres.java
| Rule | Violation | Line |
|---|---|---|
| AvoidFileStream | Avoid instantiating FileInputStream, FileOutputStream, FileReader, or FileWriter | 504 |
com/jsql/model/accessible/engine/ExploitSqlite.java
| Rule | Violation | Line |
|---|---|---|
| AvoidFileStream | Avoid instantiating FileInputStream, FileOutputStream, FileReader, or FileWriter | 126 |
com/jsql/model/injection/engine/MediatorEngine.java
| Rule | Violation | Line |
|---|---|---|
| ConstructorCallsOverridableMethod | Overridable method called during object construction: MediatorEngine.setEngine(Engine) | 153 |
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)]) | 58 |
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) | 65–68 |
com/jsql/model/injection/strategy/blind/InjectionEngine.java
| Rule | Violation | Line |
|---|---|---|
| ConstructorCallsOverridableMethod | Overridable method called during object construction: InjectionEngine.callUrl(String, String) | 46–49 |
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/patch/DiffMatchPatch.java
| Rule | Violation | Line |
|---|---|---|
| ReturnEmptyCollectionRatherThanNull | Return an empty collection rather than null. | 615 |
| ReturnEmptyCollectionRatherThanNull | Return an empty collection rather than null. | 624 |
| ReturnEmptyCollectionRatherThanNull | Return an empty collection rather than null. | 679 |
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/PreferencesUtil.java
| Rule | Violation | Line |
|---|---|---|
| ConstructorCallsOverridableMethod | Overridable method called during object construction: PreferencesUtil.parseReverseCommands(String) | 121 |
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 |
com/jsql/view/subscriber/AbstractSubscriber.java
| Rule | Violation | Line |
|---|---|---|
| EmptyMethodInAbstractClassShouldBeAbstract | An empty method in an abstract class should be abstract instead | 43 |
Priority 2
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. | 11–644 |
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 57 |
| GodClass | Possible God Class (WMC=72, ATFD=102, TCC=26.449%) | 57 |
| TooManyMethods | This class has too many methods, consider refactoring it. | 57–644 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'shouldErasePreviousInjection' | 81 |
| AvoidFieldNameMatchingMethodName | Field shouldErasePreviousInjection has the same name as a method | 81 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isScanning' | 82 |
| LawOfDemeter | Call to `getTime` on foreign value `this.mediatorStrategy` (degree 1) | 114 |
| LawOfDemeter | Call to `getBlindBin` on foreign value `this.mediatorStrategy` (degree 1) | 115 |
| LawOfDemeter | Call to `getBlindBit` on foreign value `this.mediatorStrategy` (degree 1) | 116 |
| LawOfDemeter | Call to `getMultibit` on foreign value `this.mediatorStrategy` (degree 1) | 117 |
| LawOfDemeter | Call to `getDns` on foreign value `this.mediatorStrategy` (degree 1) | 118 |
| LawOfDemeter | Call to `getError` on foreign value `this.mediatorStrategy` (degree 1) | 119 |
| LawOfDemeter | Call to `getStack` on foreign value `this.mediatorStrategy` (degree 1) | 120 |
| LawOfDemeter | Call to `getUnion` on foreign value `this.mediatorStrategy` (degree 1) | 121 |
| LawOfDemeter | Call to `getSpecificUnion` on foreign value `this.mediatorStrategy` (degree 1) | 124 |
| LawOfDemeter | Call to `getSpecificUnion` on foreign value `this.mediatorStrategy` (degree 1) | 125 |
| CyclomaticComplexity | The method 'beginInjection()' has a cyclomatic complexity of 11. | 141 |
| LawOfDemeter | Call to `getQuery` on foreign value `this.mediatorMethod` (degree 1) | 159 |
| LawOfDemeter | Call to `getRequest` on foreign value `this.mediatorMethod` (degree 1) | 162 |
| LawOfDemeter | Call to `getHeader` on foreign value `this.mediatorMethod` (degree 1) | 163 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 185 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 197 |
| UseStringBufferForStringAppends | Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings | 200 |
| UseStringBufferForStringAppends | Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings | 203 |
| MethodArgumentCouldBeFinal | Parameter 'dataInjection' is not assigned and could be declared final | 215 |
| MethodArgumentCouldBeFinal | Parameter 'isUsingIndex' is not assigned and could be declared final | 216 |
| MethodArgumentCouldBeFinal | Parameter 'metadataInjectionProcess' is not assigned and could be declared final | 217 |
| MethodArgumentCouldBeFinal | Parameter 'callableBoolean' is not assigned and could be declared final | 218 |
| MethodArgumentCouldBeFinal | Parameter 'isReport' is not assigned and could be declared final | 219 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 237 |
| UseStringBufferForStringAppends | Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings | 260 |
| UseStringBufferForStringAppends | Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings | 262 |
| UseStringBufferForStringAppends | Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings | 268 |
| UseStringBufferForStringAppends | Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings | 270 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 278 |
| LawOfDemeter | Call to `getHttpClient` on foreign value `this.getMediatorUtils().connectionUtil()` (degree 1) | 281 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 325 |
| MethodArgumentCouldBeFinal | Parameter 'isUsingIndex' is not assigned and could be declared final | 331 |
| MethodArgumentCouldBeFinal | Parameter 'urlInjection' is not assigned and could be declared final | 331 |
| MethodArgumentCouldBeFinal | Parameter 'dataInjection' is not assigned and could be declared final | 331 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 337 |
| UseStringBufferForStringAppends | Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings | 343 |
| UseStringBufferForStringAppends | Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings | 345 |
| MethodArgumentCouldBeFinal | Parameter 'isUsingIndex' is not assigned and could be declared final | 354 |
| MethodArgumentCouldBeFinal | Parameter 'dataInjection' is not assigned and could be declared final | 354 |
| MethodArgumentCouldBeFinal | Parameter 'httpRequest' is not assigned and could be declared final | 354 |
| AvoidLiteralsInIfCondition | Avoid using literals such as 2 in if statements | 366 |
| MethodArgumentCouldBeFinal | Parameter 'isUsingIndex' is not assigned and could be declared final | 383 |
| MethodArgumentCouldBeFinal | Parameter 'dataInjection' is not assigned and could be declared final | 383 |
| MethodArgumentCouldBeFinal | Parameter 'httpRequest' is not assigned and could be declared final | 383 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 388 |
| MethodArgumentCouldBeFinal | Parameter 'methodInjection' is not assigned and could be declared final | 442 |
| MethodArgumentCouldBeFinal | Parameter 'paramLead' is not assigned and could be declared final | 442 |
| MethodArgumentCouldBeFinal | Parameter 'isUsingIndex' is not assigned and could be declared final | 442 |
| MethodArgumentCouldBeFinal | Parameter 'sqlTrail' is not assigned and could be declared final | 442 |
| LawOfDemeter | Call to `getMethodInjection` on foreign value `this.mediatorUtils.connectionUtil()` (degree 1) | 450 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 450 |
| LawOfDemeter | Call to `getMethodInjection` on foreign value `this.mediatorUtils.connectionUtil()` (degree 1) | 467 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 467 |
| MethodArgumentCouldBeFinal | Parameter 'paramLead' is not assigned and could be declared final | 473 |
| MethodArgumentCouldBeFinal | Parameter 'isUsingIndex' is not assigned and could be declared final | 473 |
| MethodArgumentCouldBeFinal | Parameter 'sqlTrail' is not assigned and could be declared final | 473 |
| ConfusingTernary | Avoid if (x != y) ..; else ..; | 476–490 |
| LawOfDemeter | Call to `getSpecificUnion` on foreign value `this.getMediatorStrategy()` (degree 1) | 484 |
| LawOfDemeter | Call to `getSpecificUnion` on foreign value `this.mediatorStrategy` (degree 1) | 485 |
| LawOfDemeter | Call to `getEngine` on foreign value `this.mediatorEngine` (degree 1) | 492 |
| LawOfDemeter | Call to `instance` on foreign value `this.mediatorEngine.getEngine()` (degree 2) | 492 |
| MethodArgumentCouldBeFinal | Parameter 'paramLead' is not assigned and could be declared final | 495 |
| MethodArgumentCouldBeFinal | Parameter 'isUsingIndex' is not assigned and could be declared final | 495 |
| MethodArgumentCouldBeFinal | Parameter 'sqlTrail' is not assigned and could be declared final | 495 |
| ConfusingTernary | Avoid if (x != y) ..; else ..; | 501–517 |
| LawOfDemeter | Call to `getEngine` on foreign value `this.mediatorEngine` (degree 1) | 504 |
| LawOfDemeter | Call to `instance` on foreign value `this.mediatorEngine.getEngine()` (degree 2) | 504 |
| LawOfDemeter | Call to `getSpecificUnion` on foreign value `this.mediatorStrategy` (degree 1) | 511 |
| LawOfDemeter | Call to `getSpecificUnion` on foreign value `this.mediatorStrategy` (degree 1) | 512 |
| LawOfDemeter | Call to `getEngine` on foreign value `this.mediatorEngine` (degree 1) | 515 |
| LawOfDemeter | Call to `instance` on foreign value `this.mediatorEngine.getEngine()` (degree 2) | 515 |
| MethodArgumentCouldBeFinal | Parameter 'methodInjection' is not assigned and could be declared final | 525 |
| MethodArgumentCouldBeFinal | Parameter 'query' is not assigned and could be declared final | 525 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 528 |
| LawOfDemeter | Call to `getRequest` on foreign value `this.mediatorMethod` (degree 1) | 528 |
| MethodArgumentCouldBeFinal | Parameter 'methodInjection' is not assigned and could be declared final | 548 |
| MethodArgumentCouldBeFinal | Parameter 'query' is not assigned and could be declared final | 548 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 551 |
| LawOfDemeter | Call to `getQuery` on foreign value `this.mediatorMethod` (degree 1) | 551 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 573 |
| LawOfDemeter | Call to `getRequest` on foreign value `this.mediatorMethod` (degree 1) | 573 |
| MethodArgumentCouldBeFinal | Parameter 'message' is not assigned and could be declared final | 593 |
| MethodArgumentCouldBeFinal | Parameter 'source' is not assigned and could be declared final | 593 |
| MethodArgumentCouldBeFinal | Parameter 'isScanning' is not assigned and could be declared final | 605 |
| MethodArgumentCouldBeFinal | Parameter 'analysisReport' is not assigned and could be declared final | 637 |
| MethodArgumentCouldBeFinal | Parameter 'analysisReport' is not assigned and could be declared final | 641 |
| MethodArgumentCouldBeFinal | Parameter 'isInit' is not assigned and could be declared final | 641 |
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 `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 67 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 67 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 68 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 68 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 69 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 69 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 70 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 70 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 71 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 71 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 72 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 72 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 75 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 75 |
| LawOfDemeter | Call to `getMediatorEngine` 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 | 49 |
| MethodArgumentCouldBeFinal | Parameter 'injectionModel' is not assigned and could be declared final | 49 |
| MethodArgumentCouldBeFinal | Parameter 'metadataInjectionProcess' is not assigned and could be declared final | 49 |
| LawOfDemeter | Call to `getResourceAccess` 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 | 61 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 71 |
| LawOfDemeter | Call to `parameterUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 71 |
| AvoidLiteralsInIfCondition | Avoid using literals such as 2 in if statements | 74 |
| CloseResource | Ensure that resources like this HttpClient object are closed after use | 87 |
| LawOfDemeter | Call to `connectionUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 87 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 87 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 107 |
| AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 108 |
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 `getMediatorEngine` 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 `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 132 |
| LawOfDemeter | Call to `getMediatorEngine` 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 | 212 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 226 |
| AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 235 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 262 |
| MethodArgumentCouldBeFinal | Parameter 'table' is not assigned and could be declared final | 280 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 291 |
| AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 300 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 305 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 306 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 329 |
| MethodArgumentCouldBeFinal | Parameter 'columnsBean' is not assigned and could be declared final | 347 |
| MethodArgumentCouldBeFinal | Parameter 'database' is not assigned and could be declared final | 381 |
| MethodArgumentCouldBeFinal | Parameter 'table' is not assigned and could be declared final | 381 |
| MethodArgumentCouldBeFinal | Parameter 'rowCount' is not assigned and could be declared final | 381 |
| MethodArgumentCouldBeFinal | Parameter 'columns' is not assigned and could be declared final | 381 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 387 |
| AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 396 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 402 |
| MethodArgumentCouldBeFinal | Parameter 'resultToParse' is not assigned and could be declared final | 402 |
| MethodArgumentCouldBeFinal | Parameter 'columnsName' is not assigned and could be declared final | 415 |
| MethodArgumentCouldBeFinal | Parameter 'values' is not assigned and could be declared final | 415 |
com/jsql/model/accessible/ExploitMode.java
| Rule | Violation | Line |
|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'keyLabel' is not assigned and could be declared final | 16 |
| MethodArgumentCouldBeFinal | Parameter 'keyTooltip' is not assigned and could be declared final | 16 |
| MethodArgumentCouldBeFinal | Parameter 'label' is not assigned and could be declared final | 21 |
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. | 11–693 |
| CouplingBetweenObjects | A value of 24 may denote a high amount of coupling within the class (threshold: 20) | 11–693 |
| GodClass | Possible God Class (WMC=85, ATFD=43, TCC=16.559%) | 52 |
| CyclomaticComplexity | The class 'ResourceAccess' has a total cyclomatic complexity of 85 (highest 11). | 52 |
| TooManyMethods | This class has too many methods, consider refactoring it. | 52–693 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isSearchAdminStopped' | 59 |
| AvoidFieldNameMatchingMethodName | Field isSearchAdminStopped has the same name as a method | 59 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isScanStopped' | 64 |
| AvoidFieldNameMatchingMethodName | Field isScanStopped has the same name as a method | 64 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isSearchFileStopped' | 70 |
| MethodArgumentCouldBeFinal | Parameter 'injectionModel' is not assigned and could be declared final | 119 |
| MethodArgumentCouldBeFinal | Parameter 'urlInjection' is not assigned and could be declared final | 134 |
| MethodArgumentCouldBeFinal | Parameter 'pageNames' is not assigned and could be declared final | 134 |
| CloseResource | Ensure that resources like this ExecutorService object are closed after use | 152 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 152 |
| LawOfDemeter | Call to `threadUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 152 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 160–164 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 180 |
| LawOfDemeter | Call to `threadUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 180 |
| MethodArgumentCouldBeFinal | Parameter 'taskCompletionService' is not assigned and could be declared final | 187 |
| MethodArgumentCouldBeFinal | Parameter 'nbAdminPagesFound' is not assigned and could be declared final | 187 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 199 |
| MethodArgumentCouldBeFinal | Parameter 'nbAdminPagesFound' is not assigned and could be declared final | 206 |
| MethodArgumentCouldBeFinal | Parameter 'submittedTasks' is not assigned and could be declared final | 206 |
| MethodArgumentCouldBeFinal | Parameter 'tasksHandled' is not assigned and could be declared final | 206 |
| MethodArgumentCouldBeFinal | Parameter 'urlExploit' is not assigned and could be declared final | 222 |
| MethodArgumentCouldBeFinal | Parameter 'nameExploit' is not assigned and could be declared final | 222 |
| MethodArgumentCouldBeFinal | Parameter 'biFuncGetRequest' is not assigned and could be declared final | 222 |
| LawOfDemeter | Call to `connectionUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 229 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 229 |
| AvoidLiteralsInIfCondition | Avoid using literals such as "/" in if statements | 233 |
| MethodArgumentCouldBeFinal | Parameter 'filename' is not assigned and could be declared final | 256 |
| MethodArgumentCouldBeFinal | Parameter 'directoryNames' is not assigned and could be declared final | 256 |
| MethodArgumentCouldBeFinal | Parameter 'urlProtocol' is not assigned and could be declared final | 256 |
| CloseResource | Ensure that resources like this ExecutorService object are closed after use | 257 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 257 |
| LawOfDemeter | Call to `threadUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 257 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 264–268 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 284 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 290 |
| LawOfDemeter | Call to `threadUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 290 |
| MethodArgumentCouldBeFinal | Parameter 'urlCommand' is not assigned and could be declared final | 294 |
| MethodArgumentCouldBeFinal | Parameter 'urlCommand' is not assigned and could be declared final | 298 |
| MethodArgumentCouldBeFinal | Parameter 'isConnectIssueIgnored' is not assigned and could be declared final | 298 |
| LawOfDemeter | Call to `connectionUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 301 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 301 |
| AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 302 |
| MethodArgumentCouldBeFinal | Parameter 'command' is not assigned and could be declared final | 328 |
| MethodArgumentCouldBeFinal | Parameter 'uuidShell' is not assigned and could be declared final | 328 |
| MethodArgumentCouldBeFinal | Parameter 'urlExploit' is not assigned and could be declared final | 328 |
| MethodArgumentCouldBeFinal | Parameter 'command' is not assigned and could be declared final | 331 |
| MethodArgumentCouldBeFinal | Parameter 'uuidShell' is not assigned and could be declared final | 331 |
| MethodArgumentCouldBeFinal | Parameter 'urlExploit' is not assigned and could be declared final | 331 |
| MethodArgumentCouldBeFinal | Parameter 'isConnectIssueIgnored' is not assigned and could be declared final | 331 |
| UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 351 |
| MethodArgumentCouldBeFinal | Parameter 'command' is not assigned and could be declared final | 351 |
| MethodArgumentCouldBeFinal | Parameter 'uuidShell' is not assigned and could be declared final | 351 |
| MethodArgumentCouldBeFinal | Parameter 'urlExploit' is not assigned and could be declared final | 351 |
| MethodArgumentCouldBeFinal | Parameter 'username' is not assigned and could be declared final | 351 |
| MethodArgumentCouldBeFinal | Parameter 'password' is not assigned and could be declared final | 351 |
| UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 355 |
| MethodArgumentCouldBeFinal | Parameter 'command' is not assigned and could be declared final | 355 |
| MethodArgumentCouldBeFinal | Parameter 'uuidShell' is not assigned and could be declared final | 355 |
| MethodArgumentCouldBeFinal | Parameter 'urlExploit' is not assigned and could be declared final | 355 |
| MethodArgumentCouldBeFinal | Parameter 'username' is not assigned and could be declared final | 355 |
| MethodArgumentCouldBeFinal | Parameter 'password' is not assigned and could be declared final | 355 |
| MethodArgumentCouldBeFinal | Parameter 'isResultSentToView' is not assigned and could be declared final | 355 |
| MethodArgumentCouldBeFinal | Parameter 'listRows' is not assigned and could be declared final | 380 |
| MethodArgumentCouldBeFinal | Parameter 'listFieldsLength' is not assigned and could be declared final | 380 |
| AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 383 |
| AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 385 |
| AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 387 |
| AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 396 |
| 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 |
| MethodArgumentCouldBeFinal | Parameter 'listRows' is not assigned and could be declared final | 406 |
| MethodArgumentCouldBeFinal | Parameter 'result' is not assigned and could be declared final | 422 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 428 |
| MethodArgumentCouldBeFinal | Parameter 'file' is not assigned and could be declared final | 439 |
| MethodArgumentCouldBeFinal | Parameter 'url' is not assigned and could be declared final | 439 |
| MethodArgumentCouldBeFinal | Parameter 'streamToUpload' is not assigned and could be declared final | 439 |
| PrematureDeclaration | Declaration of 'crLf' can be moved closer to its usages | 440 |
| PrematureDeclaration | Declaration of 'boundary' can be moved closer to its usages | 441 |
| UseStringBufferForStringAppends | Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings | 449 |
| UseStringBufferForStringAppends | Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings | 450 |
| UseStringBufferForStringAppends | Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings | 451 |
| UseStringBufferForStringAppends | Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings | 452 |
| LawOfDemeter | Call to `connectionUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 470 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 470 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 496 |
| AvoidLiteralsInIfCondition | Avoid using literals such as "false" in if statements | 509 |
| CyclomaticComplexity | The method 'readFile(List<String>)' has a cyclomatic complexity of 11. | 529 |
| MethodArgumentCouldBeFinal | Parameter 'pathsFiles' is not assigned and could be declared final | 529 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 531 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 531 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 531 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 534 |
| CloseResource | Ensure that resources like this ExecutorService object are closed after use | 540 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 540 |
| LawOfDemeter | Call to `threadUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 540 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 544 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 566 |
| LawOfDemeter | Call to `getSuspendableReadFile` on foreign value `callableReadFile` (degree 1) | 585 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 588 |
| LawOfDemeter | Call to `threadUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 588 |
| MethodArgumentCouldBeFinal | Parameter 'query' is not assigned and could be declared final | 607 |
| MethodArgumentCouldBeFinal | Parameter 'metadata' is not assigned and could be declared final | 607 |
| MethodArgumentCouldBeFinal | Parameter 'query' is not assigned and could be declared final | 619 |
| MethodArgumentCouldBeFinal | Parameter 'metadata' is not assigned and could be declared final | 619 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 622–629 |
| LawOfDemeter | Call to `getSuspendableReadFile` on foreign value `callable` (degree 1) | 643 |
| MethodArgumentCouldBeFinal | Parameter 'isScanStopped' is not assigned and could be declared final | 674 |
com/jsql/model/accessible/engine/ExploitDerby.java
| Rule | Violation | Line |
|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'injectionModel' is not assigned and could be declared final | 36 |
| LawOfDemeter | Call to `getMediatorEngine` 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 `propertiesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 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) | 76 |
| MethodArgumentCouldBeFinal | Parameter 'pathExploit' is not assigned and could be declared final | 79 |
| MethodArgumentCouldBeFinal | Parameter 'urlExploit' is not assigned and could be declared final | 79 |
| MethodArgumentCouldBeFinal | Parameter 'fileToUpload' is not assigned and could be declared final | 79 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 81 |
| LawOfDemeter | Call to `propertiesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 81 |
| LawOfDemeter | Call to `getFile` on foreign value `this.modelYaml` (degree 1) | 89 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 98 |
| LawOfDemeter | Call to `upload` on foreign value `this.injectionModel.getResourceAccess()` (degree 2) | 98 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 106 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 113 |
| MethodArgumentCouldBeFinal | Parameter 'pathFile' is not assigned and could be declared final | 116 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 120 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 126 |
com/jsql/model/accessible/engine/ExploitH2.java
| Rule | Violation | Line |
|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'injectionModel' is not assigned and could be declared final | 36 |
| LawOfDemeter | Call to `getMediatorEngine` 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 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 57 |
| MethodArgumentCouldBeFinal | Parameter 'command' is not assigned and could be declared final | 62 |
| MethodArgumentCouldBeFinal | Parameter 'uuidShell' is not assigned and could be declared final | 62 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 65 |
| LawOfDemeter | Call to `getRce` on foreign value `this.modelYaml` (degree 1) | 66 |
| MethodArgumentCouldBeFinal | Parameter 'pathExploit' is not assigned and could be declared final | 79 |
| MethodArgumentCouldBeFinal | Parameter 'urlExploit' is not assigned and could be declared final | 79 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 83 |
| LawOfDemeter | Call to `propertiesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 83 |
| LawOfDemeter | Call to `getRce` on foreign value `this.modelYaml` (degree 1) | 90 |
| LawOfDemeter | Call to `getRce` on foreign value `this.modelYaml` (degree 1) | 96 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 102 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 113 |
| MethodArgumentCouldBeFinal | Parameter 'pathExploit' is not assigned and could be declared final | 116 |
| MethodArgumentCouldBeFinal | Parameter 'urlExploit' is not assigned and could be declared final | 116 |
| MethodArgumentCouldBeFinal | Parameter 'fileToUpload' is not assigned and could be declared final | 116 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 118 |
| LawOfDemeter | Call to `propertiesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 118 |
| LawOfDemeter | Call to `getRce` on foreign value `this.modelYaml` (degree 1) | 125 |
| LawOfDemeter | Call to `getRce` on foreign value `this.modelYaml` (degree 1) | 131 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 138 |
| LawOfDemeter | Call to `upload` on foreign value `this.injectionModel.getResourceAccess()` (degree 2) | 138 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 146 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 153 |
| MethodArgumentCouldBeFinal | Parameter 'pathFile' is not assigned and could be declared final | 156 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 159 |
com/jsql/model/accessible/engine/ExploitHsqldb.java
| Rule | Violation | Line |
|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'injectionModel' is not assigned and could be declared final | 37 |
| LawOfDemeter | Call to `getMediatorEngine` 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 `propertiesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 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) | 76 |
| MethodArgumentCouldBeFinal | Parameter 'pathExploit' is not assigned and could be declared final | 79 |
| MethodArgumentCouldBeFinal | Parameter 'urlExploit' is not assigned and could be declared final | 79 |
| MethodArgumentCouldBeFinal | Parameter 'fileToUpload' is not assigned and could be declared final | 79 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 81 |
| LawOfDemeter | Call to `propertiesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 81 |
| LawOfDemeter | Call to `getFile` on foreign value `this.modelYaml` (degree 1) | 89 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 97 |
| LawOfDemeter | Call to `upload` on foreign value `this.injectionModel.getResourceAccess()` (degree 2) | 97 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 105 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 112 |
| MethodArgumentCouldBeFinal | Parameter 'pathFile' is not assigned and could be declared final | 115 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 119 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 125 |
com/jsql/model/accessible/engine/ExploitMysql.java
| Rule | Violation | Line |
|---|---|---|
| ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 1–512 |
| TooManyMethods | This class has too many methods, consider refactoring it. | 37–512 |
| MethodArgumentCouldBeFinal | Parameter 'injectionModel' is not assigned and could be declared final | 52 |
| LawOfDemeter | Call to `getMediatorEngine` 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. | 71 |
| MethodArgumentCouldBeFinal | Parameter 'pathExploit' is not assigned and could be declared final | 71 |
| MethodArgumentCouldBeFinal | Parameter 'urlExploit' is not assigned and could be declared final | 71 |
| MethodArgumentCouldBeFinal | Parameter 'pathNetshare' is not assigned and could be declared final | 71 |
| MethodArgumentCouldBeFinal | Parameter 'exploitMode' is not assigned and could be declared final | 71 |
| MethodArgumentCouldBeFinal | Parameter 'username' is not assigned and could be declared final | 71 |
| MethodArgumentCouldBeFinal | Parameter 'password' is not assigned and could be declared final | 71 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 73 |
| MethodArgumentCouldBeFinal | Parameter 'pathExploit' is not assigned and could be declared final | 95 |
| MethodArgumentCouldBeFinal | Parameter 'urlExploit' is not assigned and could be declared final | 95 |
| MethodArgumentCouldBeFinal | Parameter 'pathNetshare' is not assigned and could be declared final | 95 |
| MethodArgumentCouldBeFinal | Parameter 'exploitMode' is not assigned and could be declared final | 95 |
| MethodArgumentCouldBeFinal | Parameter 'fileToUpload' is not assigned and could be declared final | 95 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 98 |
| LawOfDemeter | Call to `upload` on foreign value `this.injectionModel.getResourceAccess()` (degree 2) | 98 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 106 |
| UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 119 |
| CyclomaticComplexity | The method 'create(String, String, String, String, BinaryOperator<String>, String, ExploitMode)' has a cyclomatic complexity of 10. | 119 |
| MethodArgumentCouldBeFinal | Parameter 'pathRemoteFolder' is not assigned and could be declared final | 120 |
| MethodArgumentCouldBeFinal | Parameter 'urlExploit' is not assigned and could be declared final | 121 |
| MethodArgumentCouldBeFinal | Parameter 'keyPropertyExploit' is not assigned and could be declared final | 122 |
| MethodArgumentCouldBeFinal | Parameter 'nameExploit' is not assigned and could be declared final | 123 |
| MethodArgumentCouldBeFinal | Parameter 'biFuncGetRequest' is not assigned and could be declared final | 124 |
| MethodArgumentCouldBeFinal | Parameter 'pathNetshareFolder' is not assigned and could be declared final | 125 |
| MethodArgumentCouldBeFinal | Parameter 'exploitMode' is not assigned and could be declared final | 126 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 128 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 129 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 133 |
| LawOfDemeter | Call to `propertiesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 133 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) | 148 |
| RelianceOnDefaultCharset | Specify a character set instead of relying on the default charset | 165 |
| RelianceOnDefaultCharset | Specify a character set instead of relying on the default charset | 172 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 182 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 186 |
| CyclomaticComplexity | The method 'createUdf(String, ExploitMode)' has a cyclomatic complexity of 14. | 189 |
| MethodArgumentCouldBeFinal | Parameter 'pathNetshareFolder' is not assigned and could be declared final | 189 |
| MethodArgumentCouldBeFinal | Parameter 'exploitMode' is not assigned and could be declared final | 189 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 192 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) | 196 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 197 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) | 209 |
| LinguisticNaming | Linguistics Antipattern - The variable 'isSuccess' indicates linguistically it is a boolean, but it is 'String' | 212 |
| LawOfDemeter | Call to `connectionUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 227 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 227 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 246 |
| UseLocaleWithCaseConversions | When doing a String.toLowerCase()/toUpperCase() call, use a Locale | 250 |
| UseLocaleWithCaseConversions | When doing a String.toLowerCase()/toUpperCase() call, use a Locale | 250 |
| MethodArgumentCouldBeFinal | Parameter 'nbIndexesPrefix' is not assigned and could be declared final | 261 |
| MethodArgumentCouldBeFinal | Parameter 'pathRemoteFolder' is not assigned and could be declared final | 262 |
| MethodArgumentCouldBeFinal | Parameter 'nameExploit' is not assigned and could be declared final | 263 |
| MethodArgumentCouldBeFinal | Parameter 'hexChunks' is not assigned and could be declared final | 264 |
| MethodArgumentCouldBeFinal | Parameter 'biPredConfirm' is not assigned and could be declared final | 265 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 271 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 271 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 272 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 272 |
| MethodArgumentCouldBeFinal | Parameter 'nbIndexesPrefix' is not assigned and could be declared final | 311 |
| MethodArgumentCouldBeFinal | Parameter 'pathNetshareFolder' is not assigned and could be declared final | 312 |
| MethodArgumentCouldBeFinal | Parameter 'nameExploit' is not assigned and could be declared final | 313 |
| MethodArgumentCouldBeFinal | Parameter 'pathRemoteFolder' is not assigned and could be declared final | 314 |
| MethodArgumentCouldBeFinal | Parameter 'biPredConfirm' is not assigned and could be declared final | 315 |
| MethodArgumentCouldBeFinal | Parameter 'bodyHexChunks' is not assigned and could be declared final | 348 |
| MethodArgumentCouldBeFinal | Parameter 'pathRemoteFile' is not assigned and could be declared final | 348 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 350 |
| MethodArgumentCouldBeFinal | Parameter 'nameDatabase' is not assigned and could be declared final | 396 |
| MethodArgumentCouldBeFinal | Parameter 'nameTableRandom' is not assigned and could be declared final | 396 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 398–402 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 398 |
| MethodArgumentCouldBeFinal | Parameter 'nameLibrary' is not assigned and could be declared final | 408 |
| 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 | 417 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 422 |
| MethodArgumentCouldBeFinal | Parameter 'path' is not assigned and could be declared final | 427 |
| MethodArgumentCouldBeFinal | Parameter 'command' is not assigned and could be declared final | 442 |
| MethodArgumentCouldBeFinal | Parameter 'uuidShell' is not assigned and could be declared final | 442 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 445 |
| MethodArgumentCouldBeFinal | Parameter 'pathFile' is not assigned and could be declared final | 456 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 459 |
| MethodArgumentCouldBeFinal | Parameter 'filename' is not assigned and could be declared final | 471 |
| MethodArgumentCouldBeFinal | Parameter 'pathNetshare' is not assigned and could be declared final | 480 |
| MethodArgumentCouldBeFinal | Parameter 'nameLibrary' is not assigned and could be declared final | 480 |
| MethodArgumentCouldBeFinal | Parameter 'pathFile' is not assigned and could be declared final | 492 |
| MethodArgumentCouldBeFinal | Parameter 'bodyExploit' is not assigned and could be declared final | 492 |
| RelianceOnDefaultCharset | Specify a character set instead of relying on the default charset | 495 |
| MethodArgumentCouldBeFinal | Parameter 'nameLibrary' is not assigned and could be declared final | 501 |
| UseProperClassLoader | In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. | 503 |
com/jsql/model/accessible/engine/ExploitOracle.java
| Rule | Violation | Line |
|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'injectionModel' is not assigned and could be declared final | 28 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `injectionModel` (degree 1) | 32 |
| MethodArgumentCouldBeFinal | Parameter 'exploitMode' is not assigned and could be declared final | 37 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 61 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 73 |
| MethodArgumentCouldBeFinal | Parameter 'command' is not assigned and could be declared final | 77 |
| MethodArgumentCouldBeFinal | Parameter 'uuidShell' is not assigned and could be declared final | 77 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 80 |
com/jsql/model/accessible/engine/ExploitPostgres.java
| Rule | Violation | Line |
|---|---|---|
| ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 1–584 |
| TooManyMethods | This class has too many methods, consider refactoring it. | 35–584 |
| MethodArgumentCouldBeFinal | Parameter 'injectionModel' is not assigned and could be declared final | 42 |
| LawOfDemeter | Call to `getMediatorEngine` 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 |
| LawOfDemeter | Call to `getResourceAccess` 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 | 103 |
| LinguisticNaming | Linguistics Antipattern - The setter 'setRceExtensionWhenActive' should not return any type except void linguistically | 108 |
| CognitiveComplexity | The method 'setRceExtensionWhenActive(boolean, String)' has a cognitive complexity of 15, current threshold is 15 | 108 |
| CyclomaticComplexity | The method 'setRceExtensionWhenActive(boolean, String)' has a cyclomatic complexity of 10. | 108 |
| MethodArgumentCouldBeFinal | Parameter 'isUdfActive' is not assigned and could be declared final | 108 |
| MethodArgumentCouldBeFinal | Parameter 'nameExtension' is not assigned and could be declared final | 108 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 110 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 125 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 139 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 144 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 148 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 154 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 159 |
| LinguisticNaming | Linguistics Antipattern - The setter 'setRceLibraryWhenActive' should not return any type except void linguistically | 164 |
| MethodArgumentCouldBeFinal | Parameter 'isUdfActive' is not assigned and could be declared final | 164 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 166 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 171 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 177 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 180 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 189 |
| AvoidDuplicateLiterals | The String literal "%20" appears 10 times in this file; the first occurrence is on line 191 | 191 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 195 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 199 |
| MethodArgumentCouldBeFinal | Parameter 'isUdfActive' is not assigned and could be declared final | 204 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 213 |
| MethodArgumentCouldBeFinal | Parameter 'filename' is not assigned and could be declared final | 218 |
| UseProperClassLoader | In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. | 221 |
| MethodArgumentCouldBeFinal | Parameter 'command' is not assigned and could be declared final | 229 |
| MethodArgumentCouldBeFinal | Parameter 'uuidShell' is not assigned and could be declared final | 229 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 232 |
| MethodArgumentCouldBeFinal | Parameter 'command' is not assigned and could be declared final | 246 |
| PrematureDeclaration | Declaration of 'pathResult' can be moved closer to its usages | 248 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 250 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 253 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 256 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 257 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 261 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 266 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 274 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 279 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 281 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 284 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 287 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 289 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 292 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 294 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 298 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 305 |
| MethodArgumentCouldBeFinal | Parameter 'nameExtension' is not assigned and could be declared final | 310 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 316 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 322 |
| MethodArgumentCouldBeFinal | Parameter 'command' is not assigned and could be declared final | 328 |
| MethodArgumentCouldBeFinal | Parameter 'uuidShell' is not assigned and could be declared final | 328 |
| MethodArgumentCouldBeFinal | Parameter 'command' is not assigned and could be declared final | 342 |
| MethodArgumentCouldBeFinal | Parameter 'uuidShell' is not assigned and could be declared final | 342 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 355 |
| MethodArgumentCouldBeFinal | Parameter 'command' is not assigned and could be declared final | 369 |
| MethodArgumentCouldBeFinal | Parameter 'uuidShell' is not assigned and could be declared final | 369 |
| AvoidLiteralsInIfCondition | Avoid using literals such as "sql" in if statements | 372 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 379 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 384 |
| MethodArgumentCouldBeFinal | Parameter 'pathExploit' is not assigned and could be declared final | 403 |
| MethodArgumentCouldBeFinal | Parameter 'urlExploit' is not assigned and could be declared final | 403 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 405 |
| LawOfDemeter | Call to `propertiesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 405 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 410 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 416 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 419 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 426 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 437 |
| UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 440 |
| MethodArgumentCouldBeFinal | Parameter 'pathExploit' is not assigned and could be declared final | 440 |
| MethodArgumentCouldBeFinal | Parameter 'urlExploit' is not assigned and could be declared final | 440 |
| MethodArgumentCouldBeFinal | Parameter 'username' is not assigned and could be declared final | 440 |
| MethodArgumentCouldBeFinal | Parameter 'password' is not assigned and could be declared final | 440 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 442 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 458 |
| LawOfDemeter | Call to `propertiesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 458 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 463 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 469 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 472 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 478 |
| MethodArgumentCouldBeFinal | Parameter 'pathExploit' is not assigned and could be declared final | 481 |
| MethodArgumentCouldBeFinal | Parameter 'urlExploit' is not assigned and could be declared final | 481 |
| MethodArgumentCouldBeFinal | Parameter 'fileToUpload' is not assigned and could be declared final | 481 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 483 |
| LawOfDemeter | Call to `propertiesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 483 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 488 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 497 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 505 |
| LawOfDemeter | Call to `upload` on foreign value `this.injectionModel.getResourceAccess()` (degree 2) | 505 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 513 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 520 |
| MethodArgumentCouldBeFinal | Parameter 'pathFile' is not assigned and could be declared final | 523 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 528 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 539 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 540 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 544 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 545 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 553 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 557 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 561 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 567 |
com/jsql/model/accessible/engine/ExploitSqlite.java
| Rule | Violation | Line |
|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'injectionModel' is not assigned and could be declared final | 36 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `injectionModel` (degree 1) | 40 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 47 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 54 |
| MethodArgumentCouldBeFinal | Parameter 'command' is not assigned and could be declared final | 59 |
| MethodArgumentCouldBeFinal | Parameter 'uuidShell' is not assigned and could be declared final | 59 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 62 |
| MethodArgumentCouldBeFinal | Parameter 'pathExploit' is not assigned and could be declared final | 76 |
| MethodArgumentCouldBeFinal | Parameter 'urlExploit' is not assigned and could be declared final | 76 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 80 |
| LawOfDemeter | Call to `propertiesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 80 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 95 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 106 |
| MethodArgumentCouldBeFinal | Parameter 'pathExploit' is not assigned and could be declared final | 109 |
| MethodArgumentCouldBeFinal | Parameter 'urlExploit' is not assigned and could be declared final | 109 |
| MethodArgumentCouldBeFinal | Parameter 'fileToUpload' is not assigned and could be declared final | 109 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 111 |
| LawOfDemeter | Call to `propertiesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 111 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 127 |
| LawOfDemeter | Call to `upload` on foreign value `this.injectionModel.getResourceAccess()` (degree 2) | 127 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 135 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 142 |
| MethodArgumentCouldBeFinal | Parameter 'pathFile' is not assigned and could be declared final | 145 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 149 |
com/jsql/model/accessible/engine/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/engine/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/engine/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/engine/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/engine/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/engine/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/engine/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/engine/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/engine/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/engine/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/engine/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/engine/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/engine/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/engine/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/engine/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/engine/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/engine/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/engine/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/engine/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/engine/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/engine/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/engine/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/engine/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/engine/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/engine/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/engine/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/engine/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/engine/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/engine/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/engine/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/engine/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 | 31 |
| MethodArgumentCouldBeFinal | Parameter 'tableCount' is not assigned and could be declared final | 31 |
| AvoidLiteralsInIfCondition | Avoid using literals such as 1 in if statements | 58 |
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/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/engine/MediatorEngine.java
| Rule | Violation | Line |
|---|---|---|
| DataClass | The class 'MediatorEngine' is suspected to be a Data Class (WOC=5.714%, NOPA=0, NOAM=33, WMC=40) | 22 |
| MethodArgumentCouldBeFinal | Parameter 'injectionModel' is not assigned and could be declared final | 73 |
| MethodArgumentCouldBeFinal | Parameter 'resultToParse' is not assigned and could be declared final | 108 |
| ConsecutiveLiteralAppends | StringBuffer (or StringBuilder).append is called 4 consecutive times with literals. Use a single append with a single combined String. | 130 |
| AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 130 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 158 |
| ConfusingTernary | Avoid if (x != y) ..; else ..; | 163–196 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 163 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 163 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 163 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 164 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 169 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 176 |
| LawOfDemeter | Call to `filter` on foreign value `mediatorEngine.getEngines().stream()` (degree 2) | 177–179 |
| LawOfDemeter | Call to `getEngines` on foreign value `mediatorEngine` (degree 2) | 177 |
| LawOfDemeter | Call to `stream` on foreign value `mediatorEngine.getEngines()` (degree 2) | 177–178 |
| LawOfDemeter | Call to `toArray` on foreign value `mediatorEngine.getEngines().stream().filter(v -> v != mediatorEngine.getAuto())` (degree 2) | 177–180 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 179 |
| LawOfDemeter | Call to `instance` on foreign value `engineTest` (degree 2) | 184 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 198 |
| LawOfDemeter | Call to `propertiesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 198 |
| LawOfDemeter | Call to `getPropertiesUtil` on foreign value `this.injectionModel` (degree 1) | 204 |
| MethodArgumentCouldBeFinal | Parameter 'engine' is not assigned and could be declared final | 216 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 219 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 224 |
| MethodArgumentCouldBeFinal | Parameter 'engine' is not assigned and could be declared final | 245 |
| MethodArgumentCouldBeFinal | Parameter 'engineByUser' is not assigned and could be declared final | 253 |
com/jsql/model/injection/engine/model/AbstractEngine.java
| Rule | Violation | Line |
|---|---|---|
| TooManyMethods | This class has too many methods, consider refactoring it. | 11–50 |
com/jsql/model/injection/engine/model/Engine.java
| Rule | Violation | Line |
|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'instanceEngine' is not assigned and could be declared final | 9 |
| LawOfDemeter | Call to `getModelYaml` on foreign value `instanceEngine` (degree 1) | 10 |
| MethodArgumentCouldBeFinal | Parameter 'resultToParse' is not assigned and could be declared final | 18 |
com/jsql/model/injection/engine/model/EngineYaml.java
| Rule | Violation | Line |
|---|---|---|
| TooManyMethods | This class has too many methods, consider refactoring it. | 28–614 |
| 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 `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 119 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 126 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 129 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 129 |
| LawOfDemeter | Call to `getMediatorEngine` 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 `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 147 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 154 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 157 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 157 |
| LawOfDemeter | Call to `getMediatorEngine` 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 `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 179 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 186 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 189 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 189 |
| LawOfDemeter | Call to `getMediatorEngine` 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 `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 217 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 226 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 229 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 229 |
| LawOfDemeter | Call to `getMediatorEngine` 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 `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 323 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 324 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 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 `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 336 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 337 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 337 |
| MethodArgumentCouldBeFinal | Parameter 'blindOperator' is not assigned and could be declared final | 353 |
| MethodArgumentCouldBeFinal | Parameter 'sqlQuery' is not assigned and could be declared final | 363 |
| MethodArgumentCouldBeFinal | Parameter 'startPosition' is not assigned and could be declared final | 363 |
| MethodArgumentCouldBeFinal | Parameter 'isReport' is not assigned and could be declared final | 363 |
| MethodArgumentCouldBeFinal | Parameter 'sqlQuery' is not assigned and could be declared final | 373 |
| MethodArgumentCouldBeFinal | Parameter 'startPosition' is not assigned and could be declared final | 373 |
| MethodArgumentCouldBeFinal | Parameter 'isReport' is not assigned and could be declared final | 373 |
| MethodArgumentCouldBeFinal | Parameter 'inj' is not assigned and could be declared final | 383 |
| MethodArgumentCouldBeFinal | Parameter 'indexChar' is not assigned and could be declared final | 383 |
| MethodArgumentCouldBeFinal | Parameter 'block' is not assigned and could be declared final | 383 |
| MethodArgumentCouldBeFinal | Parameter 'errorMethod' is not assigned and could be declared final | 391 |
| MethodArgumentCouldBeFinal | Parameter 'errorMethod' is not assigned and could be declared final | 402 |
| MethodArgumentCouldBeFinal | Parameter 'sqlQuery' is not assigned and could be declared final | 414 |
| MethodArgumentCouldBeFinal | Parameter 'startPosition' is not assigned and could be declared final | 414 |
| MethodArgumentCouldBeFinal | Parameter 'indexMethodError' is not assigned and could be declared final | 414 |
| MethodArgumentCouldBeFinal | Parameter 'isReport' is not assigned and could be declared final | 414 |
| MethodArgumentCouldBeFinal | Parameter 'sqlQuery' is not assigned and could be declared final | 433 |
| MethodArgumentCouldBeFinal | Parameter 'startPosition' is not assigned and could be declared final | 433 |
| MethodArgumentCouldBeFinal | Parameter 'isReport' is not assigned and could be declared final | 433 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) | 438 |
| MethodArgumentCouldBeFinal | Parameter 'sqlQuery' is not assigned and could be declared final | 443 |
| MethodArgumentCouldBeFinal | Parameter 'startPosition' is not assigned and could be declared final | 443 |
| MethodArgumentCouldBeFinal | Parameter 'blindOperator' is not assigned and could be declared final | 443 |
| MethodArgumentCouldBeFinal | Parameter 'isReport' is not assigned and could be declared final | 443 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 450 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 450 |
| MethodArgumentCouldBeFinal | Parameter 'sqlQuery' is not assigned and could be declared final | 460 |
| MethodArgumentCouldBeFinal | Parameter 'startPosition' is not assigned and could be declared final | 460 |
| MethodArgumentCouldBeFinal | Parameter 'isReport' is not assigned and could be declared final | 460 |
| MethodArgumentCouldBeFinal | Parameter 'indexes' is not assigned and could be declared final | 473 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) | 476 |
| MethodArgumentCouldBeFinal | Parameter 'nbFields' is not assigned and could be declared final | 487 |
| MethodArgumentCouldBeFinal | Parameter 'limitSqlResult' is not assigned and could be declared final | 511 |
| MethodArgumentCouldBeFinal | Parameter 'sqlRequest' is not assigned and could be declared final | 535 |
| MethodArgumentCouldBeFinal | Parameter 'isReport' is not assigned and could be declared final | 556 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 602 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 602 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 603 |
com/jsql/model/injection/engine/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/engine/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/engine/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/engine/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/engine/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 'engineSpecific' is not assigned and could be declared final | 46 |
com/jsql/model/injection/engine/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/engine/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 'engine' 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/engine/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/engine/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/engine/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/engine/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/engine/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/engine/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/engine/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/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 `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 59 |
| LawOfDemeter | Call to `connectionUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 60 |
| 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 `connectionUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 66 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 66 |
| LawOfDemeter | Call to `connectionUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 71 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 71 |
| ConfusingTernary | Avoid if (x != y) ..; else ..; | 74–78 |
| 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 `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 143 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 144 |
| LawOfDemeter | Call to `jsonUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 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 `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 22 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 26 |
| LawOfDemeter | Call to `parameterUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 26 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 30 |
| LawOfDemeter | Call to `parameterUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 30 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 41 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 41 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 45 |
| LawOfDemeter | Call to `parameterUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 45 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 49 |
| LawOfDemeter | Call to `parameterUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 49 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 60 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 60 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 64 |
| LawOfDemeter | Call to `parameterUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 64 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 68 |
| LawOfDemeter | Call to `parameterUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 68 |
com/jsql/model/injection/strategy/AbstractStrategy.java
| Rule | Violation | Line |
|---|---|---|
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isApplicable' | 28 |
| AvoidFieldNameMatchingMethodName | Field isApplicable has the same name as a method | 28 |
| MethodArgumentCouldBeFinal | Parameter 'injectionModel' is not assigned and could be declared final | 32 |
| MethodArgumentCouldBeFinal | Parameter 'isApplicable' is not assigned and could be declared final | 94 |
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 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 36 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 41 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 41 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 42 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 42 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 50 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 53 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 63 |
| UseUnderscoresInNumericLiterals | Number 86400 should separate every third digit with an underscore | 72 |
| AvoidUsingHardCodedIP | Do not hard code the IP address ${variableName} | 73 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 80–85 |
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) | 20 |
| MethodArgumentCouldBeFinal | Parameter 'injectionModel' is not assigned and could be declared final | 42 |
| UseLocaleWithCaseConversions | When doing a String.toLowerCase()/toUpperCase() call, use a Locale | 58 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 60 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 60 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 62 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 62 |
| MethodArgumentCouldBeFinal | Parameter 'urlBase' is not assigned and could be declared final | 77 |
| MethodArgumentCouldBeFinal | Parameter 'isUsingIndex' is not assigned and could be declared final | 77 |
| MethodArgumentCouldBeFinal | Parameter 'sqlTrail' is not assigned and could be declared final | 77 |
| ConfusingTernary | Avoid if (x != y) ..; else ..; | 80–92 |
| MethodArgumentCouldBeFinal | Parameter 'sqlTrail' is not assigned and could be declared final | 97 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 100 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 100 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 118 |
| MethodArgumentCouldBeFinal | Parameter 'parameterToInject' is not assigned and could be declared final | 132 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 138 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 138 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 150 |
| LawOfDemeter | Call to `parameterUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 150 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 152 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 152 |
| LawOfDemeter | Call to `connectionUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 162 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 162 |
| LawOfDemeter | Call to `connectionUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 166 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 166 |
| LawOfDemeter | Call to `connectionUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 167 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 167 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 173 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 173 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 173 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) | 208 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 216 |
| MethodArgumentCouldBeFinal | Parameter 'strategy' is not assigned and could be declared final | 269 |
com/jsql/model/injection/strategy/StrategyBlindBin.java
| Rule | Violation | Line |
|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'injectionModel' is not assigned and could be declared final | 33 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 39 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 39 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 41 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 43 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 49 |
| MethodArgumentCouldBeFinal | Parameter 'blindOperator' is not assigned and could be declared final | 67 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 96 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 97 |
| MethodArgumentCouldBeFinal | Parameter 'sqlQuery' is not assigned and could be declared final | 113 |
| MethodArgumentCouldBeFinal | Parameter 'startPosition' is not assigned and could be declared final | 113 |
| MethodArgumentCouldBeFinal | Parameter 'stoppable' is not assigned and could be declared final | 113 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 115 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) | 122 |
| LawOfDemeter | Call to `getBlindOperator` on foreign value `this.injection` (degree 1) | 128 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) | 130 |
com/jsql/model/injection/strategy/StrategyBlindBit.java
| Rule | Violation | Line |
|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'injectionModel' is not assigned and could be declared final | 33 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 39 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 39 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 41 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 43 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 49 |
| MethodArgumentCouldBeFinal | Parameter 'blindOperator' is not assigned and could be declared final | 67 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 96 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 97 |
| MethodArgumentCouldBeFinal | Parameter 'sqlQuery' is not assigned and could be declared final | 113 |
| MethodArgumentCouldBeFinal | Parameter 'startPosition' is not assigned and could be declared final | 113 |
| MethodArgumentCouldBeFinal | Parameter 'stoppable' is not assigned and could be declared final | 113 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 115 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) | 122 |
| LawOfDemeter | Call to `getBlindOperator` on foreign value `this.injection` (degree 1) | 128 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) | 130 |
com/jsql/model/injection/strategy/StrategyDns.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) | 41 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 41 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 43 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 45 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 45 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 46 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 46 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 51 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 51 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 52 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 52 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 54 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 56 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 62 |
| MethodArgumentCouldBeFinal | Parameter 'blindOperator' is not assigned and could be declared final | 79 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 91 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 94 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 101 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 105 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 105 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 128 |
| MethodArgumentCouldBeFinal | Parameter 'sqlQuery' is not assigned and could be declared final | 147 |
| MethodArgumentCouldBeFinal | Parameter 'startPosition' is not assigned and could be declared final | 147 |
| MethodArgumentCouldBeFinal | Parameter 'metadataInjectionProcess' is not assigned and could be declared final | 147 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 148 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 149 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 160 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 160 |
| MethodArgumentCouldBeFinal | Parameter 'maxTime' is not assigned and could be declared final | 172 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 177 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 181 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) | 191 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) | 199 |
com/jsql/model/injection/strategy/StrategyError.java
| Rule | Violation | Line |
|---|---|---|
| RedundantFieldInitializer | Avoid using redundant field initializer for 'indexErrorStrategy' | 24 |
| MethodArgumentCouldBeFinal | Parameter 'injectionModel' is not assigned and could be declared final | 26 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 35 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 37 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 37 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 39 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 45 |
| MethodArgumentCouldBeFinal | Parameter 'errorMethod' is not assigned and could be declared final | 82 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 86 |
| MethodArgumentCouldBeFinal | Parameter 'errorMethod' is not assigned and could be declared final | 99 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 101 |
| MethodArgumentCouldBeFinal | Parameter 'indexErrorMethod' is not assigned and could be declared final | 107 |
| MethodArgumentCouldBeFinal | Parameter 'errorCapacityDefault' is not assigned and could be declared final | 107 |
| MethodArgumentCouldBeFinal | Parameter 'errorMethod' is not assigned and could be declared final | 107 |
| MethodArgumentCouldBeFinal | Parameter 'regexSearch' is not assigned and could be declared final | 107 |
| UnusedAssignment | The value assigned to field 'indexErrorStrategy' is never used (reassigned every iteration) | 113 |
| MethodArgumentCouldBeFinal | Parameter 'indexError' is not assigned and could be declared final | 132 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 136 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 145 |
| MethodArgumentCouldBeFinal | Parameter 'indexError' is not assigned and could be declared final | 158 |
| MethodArgumentCouldBeFinal | Parameter 'sqlQuery' is not assigned and could be declared final | 163 |
| MethodArgumentCouldBeFinal | Parameter 'startPosition' is not assigned and could be declared final | 163 |
| MethodArgumentCouldBeFinal | Parameter 'metadataInjectionProcess' is not assigned and could be declared final | 163 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 165 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) | 172 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 178 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) | 181 |
| MethodArgumentCouldBeFinal | Parameter 'indexErrorStrategy' is not assigned and could be declared final | 200 |
com/jsql/model/injection/strategy/StrategyMultibit.java
| Rule | Violation | Line |
|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'injectionModel' is not assigned and could be declared final | 33 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 39 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 39 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 41 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 43 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 49 |
| MethodArgumentCouldBeFinal | Parameter 'blindOperator' is not assigned and could be declared final | 64 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 85 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 86 |
| MethodArgumentCouldBeFinal | Parameter 'sqlQuery' is not assigned and could be declared final | 107 |
| MethodArgumentCouldBeFinal | Parameter 'startPosition' is not assigned and could be declared final | 107 |
| MethodArgumentCouldBeFinal | Parameter 'stoppable' is not assigned and could be declared final | 107 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 109 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) | 116 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) | 123 |
com/jsql/model/injection/strategy/StrategyStack.java
| Rule | Violation | Line |
|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'injectionModel' is not assigned and could be declared final | 24 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 30 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 30 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 37 |
| ConfusingTernary | Avoid if (x != y) ..; else ..; | 45–55 |
| MethodArgumentCouldBeFinal | Parameter 'configurationYaml' is not assigned and could be declared final | 71 |
| MethodArgumentCouldBeFinal | Parameter 'stack' is not assigned and could be declared final | 71 |
| MethodArgumentCouldBeFinal | Parameter 'configurationYaml' is not assigned and could be declared final | 92 |
| MethodArgumentCouldBeFinal | Parameter 'stack' is not assigned and could be declared final | 92 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 111 |
| MethodArgumentCouldBeFinal | Parameter 'sqlQuery' is not assigned and could be declared final | 124 |
| MethodArgumentCouldBeFinal | Parameter 'startPosition' is not assigned and could be declared final | 124 |
| MethodArgumentCouldBeFinal | Parameter 'metadataInjectionProcess' is not assigned and could be declared final | 124 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 126 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) | 133 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) | 140 |
com/jsql/model/injection/strategy/StrategyTime.java
| Rule | Violation | Line |
|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'injectionModel' is not assigned and could be declared final | 33 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 39 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 39 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 41 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 43 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 49 |
| MethodArgumentCouldBeFinal | Parameter 'blindOperator' is not assigned and could be declared final | 67 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 96 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 97 |
| MethodArgumentCouldBeFinal | Parameter 'sqlQuery' is not assigned and could be declared final | 113 |
| MethodArgumentCouldBeFinal | Parameter 'startPosition' is not assigned and could be declared final | 113 |
| MethodArgumentCouldBeFinal | Parameter 'stoppable' is not assigned and could be declared final | 113 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 115 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) | 122 |
| LawOfDemeter | Call to `getBlindOperator` on foreign value `this.injection` (degree 1) | 128 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) | 130 |
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 `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 40 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) | 54 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 77 |
| MethodArgumentCouldBeFinal | Parameter 'sqlQuery' is not assigned and could be declared final | 90 |
| MethodArgumentCouldBeFinal | Parameter 'startPosition' is not assigned and could be declared final | 90 |
| MethodArgumentCouldBeFinal | Parameter 'metadataInjectionProcess' is not assigned and could be declared final | 90 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 92 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) | 99 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) | 106 |
| MethodArgumentCouldBeFinal | Parameter 'firstSuccessPageSource' is not assigned and could be declared final | 118 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 133 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 146 |
| MethodArgumentCouldBeFinal | Parameter 'visibleIndex' is not assigned and could be declared final | 200 |
| MethodArgumentCouldBeFinal | Parameter 'sourceIndexesFound' is not assigned and could be declared final | 204 |
| MethodArgumentCouldBeFinal | Parameter 'nbIndexesFound' is not assigned and could be declared final | 212 |
| MethodArgumentCouldBeFinal | Parameter 'indexesInUrl' 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 | 33 |
| MethodArgumentCouldBeFinal | Parameter 'blindOperator' is not assigned and could be declared final | 33 |
| CyclomaticComplexity | The method 'inject(String, AbstractSuspendable)' has a cyclomatic complexity of 10. | 67 |
| MethodArgumentCouldBeFinal | Parameter 'sqlQuery' is not assigned and could be declared final | 67 |
| MethodArgumentCouldBeFinal | Parameter 'suspendable' is not assigned and could be declared final | 67 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 74 |
| LawOfDemeter | Call to `threadUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 74 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 108 |
| MethodArgumentCouldBeFinal | Parameter 'bytes' is not assigned and could be declared final | 119 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 123 |
| EmptyCatchBlock | Avoid empty catch blocks | 126–128 |
| MethodArgumentCouldBeFinal | Parameter 'bytes' is not assigned and could be declared final | 134 |
| MethodArgumentCouldBeFinal | Parameter 'countBadAsciiCode' is not assigned and could be declared final | 135 |
| MethodArgumentCouldBeFinal | Parameter 'currentCallable' is not assigned and could be declared final | 136 |
| AvoidDeeplyNestedIfStmts | Deeply nested if..then statements are hard to read | 148–150 |
| AvoidLiteralsInIfCondition | Avoid using literals such as 15 in if statements | 148 |
| MethodArgumentCouldBeFinal | Parameter 'bytes' is not assigned and could be declared final | 169 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 169 |
| MethodArgumentCouldBeFinal | Parameter 'taskExecutor' is not assigned and could be declared final | 169 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 170 |
| LawOfDemeter | Call to `threadUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 170 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 177 |
| EmptyCatchBlock | Avoid empty catch blocks | 180–183 |
| MethodArgumentCouldBeFinal | Parameter 'urlString' is not assigned and could be declared final | 193 |
| MethodArgumentCouldBeFinal | Parameter 'metadataInjectionProcess' is not assigned and could be declared final | 193 |
| 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 'callableBoolean' is not assigned and could be declared final | 197 |
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 | 33 |
| CyclomaticComplexity | The constructor 'InjectionBlindBin(InjectionModel, BlindOperator)' has a cyclomatic complexity of 10. | 49 |
| MethodArgumentCouldBeFinal | Parameter 'injectionModel' is not assigned and could be declared final | 49 |
| MethodArgumentCouldBeFinal | Parameter 'blindOperator' is not assigned and could be declared final | 49 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 52 |
| UseLocaleWithCaseConversions | When doing a String.toLowerCase()/toUpperCase() call, use a Locale | 58 |
| CloseResource | Ensure that resources like this ExecutorService object are closed after use | 62 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 62 |
| LawOfDemeter | Call to `threadUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 62 |
| LawOfDemeter | Call to `invokeAll` on foreign value `taskExecutor` (degree 2) | 79 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 79 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 80 |
| LawOfDemeter | Call to `threadUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 80 |
| LawOfDemeter | Call to `getDiffsWithReference` on foreign value `futureFalsy.get()` (degree 2) | 86 |
| LawOfDemeter | Call to `get` on foreign value `futureFalsy` (degree 2) | 86 |
| LawOfDemeter | Call to `get` on foreign value `futureFalsy` (degree 2) | 88 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 95 |
| MethodArgumentCouldBeFinal | Parameter 'injectionModel' is not assigned and could be declared final | 105 |
| MethodArgumentCouldBeFinal | Parameter 'blindOperator' is not assigned and could be declared final | 105 |
| CloseResource | Ensure that resources like this ExecutorService object are closed after use | 106 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 106 |
| LawOfDemeter | Call to `threadUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 106 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 108 |
| LawOfDemeter | Call to `invokeAll` on foreign value `taskExecutor` (degree 2) | 122 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 122 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 123 |
| LawOfDemeter | Call to `threadUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 123 |
| LawOfDemeter | Call to `getDiffsWithReference` on foreign value `futureTruthy.get()` (degree 2) | 129 |
| LawOfDemeter | Call to `get` on foreign value `futureTruthy` (degree 2) | 129 |
| LawOfDemeter | Call to `get` on foreign value `futureTruthy` (degree 2) | 131 |
| LawOfDemeter | Call to `get` on foreign value `futureTruthy` (degree 2) | 133 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 139 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 154 |
| AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 163 |
| MethodArgumentCouldBeFinal | Parameter 'sqlQuery' is not assigned and could be declared final | 174 |
| MethodArgumentCouldBeFinal | Parameter 'bytes' is not assigned and could be declared final | 175 |
| MethodArgumentCouldBeFinal | Parameter 'indexChar' is not assigned and could be declared final | 176 |
| MethodArgumentCouldBeFinal | Parameter 'taskCompletionService' is not assigned and could be declared final | 177 |
| MethodArgumentCouldBeFinal | Parameter 'countTasksSubmitted' is not assigned and could be declared final | 178 |
| MethodArgumentCouldBeFinal | Parameter 'countBadAsciiCode' is not assigned and could be declared final | 179 |
| MethodArgumentCouldBeFinal | Parameter 'currentCallable' is not assigned and could be declared final | 180 |
| LawOfDemeter | Call to `getBinRanges` on foreign value `currentCallable` (degree 1) | 187 |
| LawOfDemeter | Call to `getBinRanges` on foreign value `currentCallable` (degree 1) | 188 |
| LawOfDemeter | Call to `getBinRanges` on foreign value `currentCallable` (degree 1) | 189 |
| MethodArgumentCouldBeFinal | Parameter 'bytes' is not assigned and could be declared final | 224 |
| MethodArgumentCouldBeFinal | Parameter 'indexChar' is not assigned and could be declared final | 224 |
| MethodArgumentCouldBeFinal | Parameter 'countBadAsciiCode' is not assigned and could be declared final | 224 |
| MethodArgumentCouldBeFinal | Parameter 'currentCallable' is not assigned and could be declared final | 224 |
| MethodArgumentCouldBeFinal | Parameter 'low' is not assigned and could be declared final | 224 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 237 |
| MethodArgumentCouldBeFinal | Parameter 'asciiCodeMask' is not assigned and could be declared final | 245 |
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 245 |
| MethodArgumentCouldBeFinal | Parameter 'bytes' is not assigned and could be declared final | 253 |
| MethodArgumentCouldBeFinal | Parameter 'currentCallable' is not assigned and could be declared final | 253 |
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 `getMediatorEngine` 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 |
| LawOfDemeter | Call to `threadUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 56 |
| LawOfDemeter | Call to `invokeAll` on foreign value `taskExecutor` (degree 2) | 72 |
| 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 |
| LawOfDemeter | Call to `threadUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 73 |
| LawOfDemeter | Call to `getDiffsWithReference` on foreign value `futureFalsy.get()` (degree 2) | 79 |
| LawOfDemeter | Call to `get` on foreign value `futureFalsy` (degree 2) | 79 |
| LawOfDemeter | Call to `get` on foreign value `futureFalsy` (degree 2) | 81 |
| 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 `threadUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 99 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 101 |
| LawOfDemeter | Call to `invokeAll` on foreign value `taskExecutor` (degree 2) | 114 |
| 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 |
| LawOfDemeter | Call to `threadUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 115 |
| LawOfDemeter | Call to `getDiffsWithReference` on foreign value `futureTruthy.get()` (degree 2) | 121 |
| LawOfDemeter | Call to `get` on foreign value `futureTruthy` (degree 2) | 121 |
| LawOfDemeter | Call to `get` on foreign value `futureTruthy` (degree 2) | 123 |
| LawOfDemeter | Call to `get` on foreign value `futureTruthy` (degree 2) | 125 |
| 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 `getMediatorEngine` 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 `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 56 |
| LawOfDemeter | Call to `getMediatorEngine` 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 `threadUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 72 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 81 |
| LawOfDemeter | Call to `invokeAll` on foreign value `taskExecutor` (degree 2) | 94 |
| 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 |
| LawOfDemeter | Call to `threadUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 95 |
| LawOfDemeter | Call to `getOpcodes` on foreign value `listTagTrue.get(i).get()` (degree 2) | 102 |
| LawOfDemeter | Call to `get` on foreign value `listTagTrue.get(i)` (degree 2) | 102 |
| LawOfDemeter | Call to `get` on foreign value `listTagTrue` (degree 2) | 102 |
| LawOfDemeter | Call to `get` on foreign value `listTagTrue.get(i)` (degree 2) | 104 |
| LawOfDemeter | Call to `get` on foreign value `listTagTrue` (degree 2) | 104 |
| 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 `threadUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 120 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 129 |
| LawOfDemeter | Call to `invokeAll` on foreign value `taskExecutor` (degree 2) | 142 |
| 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 |
| LawOfDemeter | Call to `threadUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 143 |
| LawOfDemeter | Call to `get` on foreign value `falseTag` (degree 2) | 149 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 155 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 167 |
| LawOfDemeter | Call to `getMediatorEngine` 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/InjectionEngine.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 'engineSpecificWithOperator' is not assigned and could be declared final | 34 |
| MethodArgumentCouldBeFinal | Parameter 'engine' is not assigned and could be declared final | 34 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 37 |
| LawOfDemeter | Call to `getMediatorEngine` 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 |
| LawOfDemeter | Call to `threadUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 53 |
| LawOfDemeter | Call to `invokeAll` on foreign value `taskExecutor` (degree 2) | 69 |
| 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 |
| LawOfDemeter | Call to `threadUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 70 |
| LawOfDemeter | Call to `getOpcodes` on foreign value `listTagTrue.get(i).get()` (degree 2) | 77 |
| LawOfDemeter | Call to `get` on foreign value `listTagTrue.get(i)` (degree 2) | 77 |
| LawOfDemeter | Call to `get` on foreign value `listTagTrue` (degree 2) | 77 |
| LawOfDemeter | Call to `get` on foreign value `listTagTrue.get(i)` (degree 2) | 79 |
| LawOfDemeter | Call to `get` on foreign value `listTagTrue` (degree 2) | 79 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 86 |
| MethodArgumentCouldBeFinal | Parameter 'engineSpecificWithMode' 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 |
| LawOfDemeter | Call to `threadUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 95 |
| LawOfDemeter | Call to `invokeAll` on foreign value `taskExecutor` (degree 2) | 111 |
| 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 |
| LawOfDemeter | Call to `threadUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 112 |
| LawOfDemeter | Call to `get` on foreign value `falseTag` (degree 2) | 117 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 123 |
| MethodArgumentCouldBeFinal | Parameter 'engineSpecificWithMode' is not assigned and could be declared final | 127 |
| LawOfDemeter | Call to `getMediatorEngine` 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/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 |
| LawOfDemeter | Call to `threadUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 38 |
| LawOfDemeter | Call to `invokeAll` on foreign value `taskExecutor` (degree 2) | 52 |
| 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 |
| LawOfDemeter | Call to `threadUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 53 |
| LawOfDemeter | Call to `get` on foreign value `futureId` (degree 2) | 56 |
| 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 `getMediatorEngine` 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 |
| LawOfDemeter | Call to `threadUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 47 |
| LawOfDemeter | Call to `invokeAll` on foreign value `taskExecutor` (degree 2) | 63 |
| 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 |
| LawOfDemeter | Call to `threadUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 64 |
| LawOfDemeter | Call to `get` on foreign value `futureFalsy` (degree 2) | 69 |
| 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 `threadUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 85 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 87 |
| LawOfDemeter | Call to `invokeAll` on foreign value `taskExecutor` (degree 2) | 100 |
| 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 |
| LawOfDemeter | Call to `threadUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 101 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 104 |
| LawOfDemeter | Call to `get` on foreign value `futureTruthy` (degree 2) | 106 |
| 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 `getMediatorEngine` 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 `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 153 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 154 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 154 |
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 | 22 |
| MethodArgumentCouldBeFinal | Parameter 'sqlQuery' is not assigned and could be declared final | 32 |
| MethodArgumentCouldBeFinal | Parameter 'injectionModel' is not assigned and could be declared final | 33 |
| MethodArgumentCouldBeFinal | Parameter 'injectionBlind' is not assigned and could be declared final | 34 |
| MethodArgumentCouldBeFinal | Parameter 'blindOperator' is not assigned and could be declared final | 35 |
| MethodArgumentCouldBeFinal | Parameter 'binRanges' is not assigned and could be declared final | 36 |
| MethodArgumentCouldBeFinal | Parameter 'metadataInjectionProcess' is not assigned and could be declared final | 37 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `injectionModel` (degree 1) | 43 |
| MethodArgumentCouldBeFinal | Parameter 'sqlQuery' is not assigned and could be declared final | 50 |
| MethodArgumentCouldBeFinal | Parameter 'indexChar' is not assigned and could be declared final | 51 |
| MethodArgumentCouldBeFinal | Parameter 'injectionModel' is not assigned and could be declared final | 52 |
| MethodArgumentCouldBeFinal | Parameter 'injectionBlind' is not assigned and could be declared final | 53 |
| MethodArgumentCouldBeFinal | Parameter 'blindOperator' is not assigned and could be declared final | 54 |
| MethodArgumentCouldBeFinal | Parameter 'binRanges' is not assigned and could be declared final | 55 |
| MethodArgumentCouldBeFinal | Parameter 'metadataInjectionProcess' is not assigned and could be declared final | 56 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `injectionModel` (degree 1) | 59 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 76 |
| 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/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 `getMediatorEngine` 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 `getMediatorEngine` 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 'booleanUrl' 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/CallableEngine.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/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 `getMediatorEngine` 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 `getMediatorEngine` 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 `getMediatorEngine` 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/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 | 38 |
| GodClass | Possible God Class (WMC=217, ATFD=98, TCC=0.000%) | 38 |
| CyclomaticComplexity | The class 'DiffMatchPatch' has a total cyclomatic complexity of 217 (highest 32). | 38 |
| TooManyMethods | This class has too many methods, consider refactoring it. | 38–1251 |
| LooseCoupling | Avoid using implementation types like 'LinkedList'; use the interface instead | 84 |
| MethodArgumentCouldBeFinal | Parameter 'text1' is not assigned and could be declared final | 84 |
| MethodArgumentCouldBeFinal | Parameter 'text2' is not assigned and could be declared final | 84 |
| MethodArgumentCouldBeFinal | Parameter 'checklines' is not assigned and could be declared final | 84 |
| LooseCoupling | Avoid using implementation types like 'LinkedList'; use the interface instead | 102 |
| MethodArgumentCouldBeFinal | Parameter 'valueText1' is not assigned and could be declared final | 102 |
| MethodArgumentCouldBeFinal | Parameter 'valueText2' is not assigned and could be declared final | 102 |
| MethodArgumentCouldBeFinal | Parameter 'checklines' is not assigned and could be declared final | 102 |
| MethodArgumentCouldBeFinal | Parameter 'deadline' is not assigned and could be declared final | 102 |
| LooseCoupling | Avoid using implementation types like 'LinkedList'; use the interface instead | 112 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 118 |
| LooseCoupling | Avoid using implementation types like 'LinkedList'; use the interface instead | 159 |
| CyclomaticComplexity | The method 'diffCompute(String, String, boolean, long)' has a cyclomatic complexity of 12. | 159 |
| MethodArgumentCouldBeFinal | Parameter 'text1' is not assigned and could be declared final | 159 |
| MethodArgumentCouldBeFinal | Parameter 'text2' is not assigned and could be declared final | 159 |
| MethodArgumentCouldBeFinal | Parameter 'checklines' is not assigned and could be declared final | 159 |
| MethodArgumentCouldBeFinal | Parameter 'deadline' is not assigned and could be declared final | 159 |
| LooseCoupling | Avoid using implementation types like 'LinkedList'; use the interface instead | 160 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 165 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 171 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 186 |
| AvoidLiteralsInIfCondition | Avoid using literals such as 1 in if statements | 189 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 194 |
| LooseCoupling | Avoid using implementation types like 'LinkedList'; use the interface instead | 208 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 214 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 218 |
| LooseCoupling | Avoid using implementation types like 'LinkedList'; use the interface instead | 233 |
| CognitiveComplexity | The method 'diffLineMode(String, String, long)' has a cognitive complexity of 17, current threshold is 15 | 233 |
| CyclomaticComplexity | The method 'diffLineMode(String, String, long)' has a cyclomatic complexity of 10. | 233 |
| MethodArgumentCouldBeFinal | Parameter 'valueText1' is not assigned and could be declared final | 233 |
| MethodArgumentCouldBeFinal | Parameter 'valueText2' is not assigned and could be declared final | 233 |
| MethodArgumentCouldBeFinal | Parameter 'deadline' is not assigned and could be declared final | 233 |
| LooseCoupling | Avoid using implementation types like 'LinkedList'; use the interface instead | 240 |
| LawOfDemeter | Call to `getOperation` on foreign value `thisDiff` (degree 1) | 258 |
| NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 286 |
| LooseCoupling | Avoid using implementation types like 'LinkedList'; use the interface instead | 302 |
| NcssCount | The method 'diffBisect(String, String, long)' has a NCSS line count of 75. | 302 |
| CognitiveComplexity | The method 'diffBisect(String, String, long)' has a cognitive complexity of 62, current threshold is 15 | 302 |
| CyclomaticComplexity | The method 'diffBisect(String, String, long)' has a cyclomatic complexity of 32. | 302 |
| NPathComplexity | The method 'diffBisect(String, String, long)' has an NPath complexity of 29190, current threshold is 200 | 302 |
| MethodArgumentCouldBeFinal | Parameter 'text1' is not assigned and could be declared final | 302 |
| MethodArgumentCouldBeFinal | Parameter 'text2' is not assigned and could be declared final | 302 |
| MethodArgumentCouldBeFinal | Parameter 'deadline' is not assigned and could be declared final | 302 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 362 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 400 |
| LooseCoupling | Avoid using implementation types like 'LinkedList'; use the interface instead | 408 |
| LooseCoupling | Avoid using implementation types like 'LinkedList'; use the interface instead | 424 |
| MethodArgumentCouldBeFinal | Parameter 'text1' is not assigned and could be declared final | 424 |
| MethodArgumentCouldBeFinal | Parameter 'text2' is not assigned and could be declared final | 424 |
| MethodArgumentCouldBeFinal | Parameter 'x' is not assigned and could be declared final | 424 |
| MethodArgumentCouldBeFinal | Parameter 'y' is not assigned and could be declared final | 424 |
| MethodArgumentCouldBeFinal | Parameter 'deadline' is not assigned and could be declared final | 424 |
| LooseCoupling | Avoid using implementation types like 'LinkedList'; use the interface instead | 431 |
| MethodArgumentCouldBeFinal | Parameter 'text1' is not assigned and could be declared final | 447 |
| MethodArgumentCouldBeFinal | Parameter 'text2' is not assigned and could be declared final | 447 |
| UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 449 |
| MethodArgumentCouldBeFinal | Parameter 'text' is not assigned and could be declared final | 470 |
| MethodArgumentCouldBeFinal | Parameter 'lineArray' is not assigned and could be declared final | 470 |
| MethodArgumentCouldBeFinal | Parameter 'lineHash' is not assigned and could be declared final | 471 |
| MethodArgumentCouldBeFinal | Parameter 'diffs' is not assigned and could be declared final | 504 |
| MethodArgumentCouldBeFinal | Parameter 'lineArray' is not assigned and could be declared final | 504 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 507 |
| MethodArgumentCouldBeFinal | Parameter 'text1' is not assigned and could be declared final | 521 |
| MethodArgumentCouldBeFinal | Parameter 'text2' is not assigned and could be declared final | 521 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 526 |
| MethodArgumentCouldBeFinal | Parameter 'text1' is not assigned and could be declared final | 538 |
| MethodArgumentCouldBeFinal | Parameter 'text2' is not assigned and could be declared final | 538 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 545 |
| CyclomaticComplexity | The method 'diffCommonOverlap(String, String)' has a cyclomatic complexity of 10. | 558 |
| MethodArgumentCouldBeFinal | Parameter 'valueText1' is not assigned and could be declared final | 558 |
| MethodArgumentCouldBeFinal | Parameter 'valueText2' is not assigned and could be declared final | 558 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 567 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 578 |
| CognitiveComplexity | The method 'diffHalfMatch(String, String)' has a cognitive complexity of 15, current threshold is 15 | 611 |
| CyclomaticComplexity | The method 'diffHalfMatch(String, String)' has a cyclomatic complexity of 11. | 611 |
| MethodArgumentCouldBeFinal | Parameter 'text1' is not assigned and could be declared final | 611 |
| MethodArgumentCouldBeFinal | Parameter 'text2' is not assigned and could be declared final | 611 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 615 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 624 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 636 |
| MethodArgumentCouldBeFinal | Parameter 'longtext' is not assigned and could be declared final | 652 |
| MethodArgumentCouldBeFinal | Parameter 'shorttext' is not assigned and could be declared final | 652 |
| MethodArgumentCouldBeFinal | Parameter 'i' is not assigned and could be declared final | 652 |
| AssignmentInOperand | Avoid assignment to j in operand | 661 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 676–677 |
| NcssCount | The method 'diffCleanupSemantic(LinkedList<Diff>)' has a NCSS line count of 80. | 687 |
| CognitiveComplexity | The method 'diffCleanupSemantic(LinkedList<Diff>)' has a cognitive complexity of 65, current threshold is 15 | 687 |
| CyclomaticComplexity | The method 'diffCleanupSemantic(LinkedList<Diff>)' has a cyclomatic complexity of 27. | 687 |
| NPathComplexity | The method 'diffCleanupSemantic(LinkedList<Diff>)' has an NPath complexity of 13747, current threshold is 200 | 687 |
| LooseCoupling | Avoid using implementation types like 'LinkedList'; use the interface instead | 687 |
| MethodArgumentCouldBeFinal | Parameter 'diffs' is not assigned and could be declared final | 687 |
| LooseCoupling | Avoid using implementation types like 'Stack'; use the interface instead | 693 |
| LawOfDemeter | Call to `getOperation` on foreign value `thisDiff` (degree 1) | 705 |
| LawOfDemeter | Call to `getOperation` on foreign value `thisDiff` (degree 1) | 715 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 728 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 734 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 736 |
| EmptyControlStatement | Empty while statement | 751–753 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 751 |
| NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 760 |
| NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 764 |
| NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 781 |
| LawOfDemeter | Call to `getOperation` on foreign value `prevDiff` (degree 1) | 790 |
| LawOfDemeter | Call to `getOperation` on foreign value `thisDiff` (degree 1) | 791 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 801–802 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 814–815 |
| NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 824 |
| NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 827 |
| NcssCount | The method 'diffCleanupSemanticLossless(List<Diff>)' has a NCSS line count of 66. | 837 |
| CognitiveComplexity | The method 'diffCleanupSemanticLossless(List<Diff>)' has a cognitive complexity of 33, current threshold is 15 | 837 |
| CyclomaticComplexity | The method 'diffCleanupSemanticLossless(List<Diff>)' has a cyclomatic complexity of 16. | 837 |
| NPathComplexity | The method 'diffCleanupSemanticLossless(List<Diff>)' has an NPath complexity of 840, current threshold is 200 | 837 |
| MethodArgumentCouldBeFinal | Parameter 'diffs' is not assigned and could be declared final | 837 |
| LawOfDemeter | Call to `getOperation` on foreign value `prevDiff` (degree 1) | 856 |
| LawOfDemeter | Call to `getOperation` on foreign value `nextDiff` (degree 1) | 857 |
| ConfusingTernary | Avoid if (x != y) ..; else ..; | 902–911 |
| ConfusingTernary | Avoid if (x != y) ..; else ..; | 913–919 |
| NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 924 |
| CognitiveComplexity | The method 'diffCleanupSemanticScore(String, String)' has a cognitive complexity of 18, current threshold is 15 | 936 |
| CyclomaticComplexity | The method 'diffCleanupSemanticScore(String, String)' has a cyclomatic complexity of 14. | 936 |
| NPathComplexity | The method 'diffCleanupSemanticScore(String, String)' has an NPath complexity of 1282, current threshold is 200 | 936 |
| MethodArgumentCouldBeFinal | Parameter 'one' is not assigned and could be declared final | 936 |
| MethodArgumentCouldBeFinal | Parameter 'two' is not assigned and could be declared final | 936 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 939 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 962 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 965 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 968 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 971 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 974 |
| CognitiveComplexity | The method 'diffCleanupEfficiency(LinkedList<Diff>)' has a cognitive complexity of 62, current threshold is 15 | 983 |
| CyclomaticComplexity | The method 'diffCleanupEfficiency(LinkedList<Diff>)' has a cyclomatic complexity of 27. | 983 |
| NPathComplexity | The method 'diffCleanupEfficiency(LinkedList<Diff>)' has an NPath complexity of 18251, current threshold is 200 | 983 |
| LooseCoupling | Avoid using implementation types like 'LinkedList'; use the interface instead | 983 |
| MethodArgumentCouldBeFinal | Parameter 'diffs' is not assigned and could be declared final | 983 |
| LooseCoupling | Avoid using implementation types like 'Stack'; use the interface instead | 989 |
| LawOfDemeter | Call to `getOperation` on foreign value `thisDiff` (degree 1) | 1004 |
| NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 1016 |
| AssignmentInOperand | Avoid assignment to postDel in operand | 1019 |
| LawOfDemeter | Call to `getOperation` on foreign value `thisDiff` (degree 1) | 1022 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 1047 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 1053 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 1055 |
| NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 1059 |
| AssignmentInOperand | Avoid assignment to postDel in operand | 1062 |
| EmptyControlStatement | Empty while statement | 1078–1080 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 1078 |
| AssignmentInOperand | Avoid assignment to postDel in operand | 1081 |
| NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 1087 |
| NcssCount | The method 'diffCleanupMerge(LinkedList<Diff>)' has a NCSS line count of 108. | 1100 |
| CognitiveComplexity | The method 'diffCleanupMerge(LinkedList<Diff>)' has a cognitive complexity of 75, current threshold is 15 | 1100 |
| CyclomaticComplexity | The method 'diffCleanupMerge(LinkedList<Diff>)' has a cyclomatic complexity of 30. | 1100 |
| NPathComplexity | The method 'diffCleanupMerge(LinkedList<Diff>)' has an NPath complexity of 434400, current threshold is 200 | 1100 |
| LooseCoupling | Avoid using implementation types like 'LinkedList'; use the interface instead | 1100 |
| MethodArgumentCouldBeFinal | Parameter 'diffs' is not assigned and could be declared final | 1100 |
| SwitchDensity | A high ratio of statements to labels in a switch statement. Consider refactoring. | 1111–1193 |
| LawOfDemeter | Call to `getOperation` on foreign value `thisDiff` (degree 1) | 1111 |
| NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 1115 |
| NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 1120 |
| AvoidLiteralsInIfCondition | Avoid using literals such as 1 in if statements | 1123 |
| AssignmentInOperand | Avoid assignment to countDelete in operand | 1128 |
| AssignmentInOperand | Avoid assignment to countInsert in operand | 1132 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 1147–1148 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 1173 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 1176 |
| NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 1179 |
| NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 1194 |
| NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 1210 |
| LawOfDemeter | Call to `getOperation` on foreign value `prevDiff` (degree 1) | 1215 |
| LawOfDemeter | Call to `getOperation` on foreign value `nextDiff` (degree 1) | 1216 |
| NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 1230 |
| NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 1238 |
| NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 1244 |
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 | 47 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 54 |
| AvoidSynchronizedAtMethodLevel | Use block level locking rather than method level synchronization | 94 |
com/jsql/model/suspendable/Input.java
| Rule | Violation | Line |
|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'charInsertion' is not assigned and could be declared final | 16 |
| MethodArgumentCouldBeFinal | Parameter 'o' 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 | 22 |
| ControlStatementBraces | This statement should have braces | 22 |
com/jsql/model/suspendable/SuspendableGetCharInsertion.java
| Rule | Violation | Line |
|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'injectionModel' is not assigned and could be declared final | 40 |
| CyclomaticComplexity | The method 'run(Input)' has a cyclomatic complexity of 10. | 45 |
| MethodArgumentCouldBeFinal | Parameter 'input' is not assigned and could be declared final | 45 |
| CloseResource | Ensure that resources like this ExecutorService object are closed after use | 48 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 48 |
| LawOfDemeter | Call to `threadUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 48 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 71 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 71 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 71 |
| LawOfDemeter | Call to `getEngine` on foreign value `mediatorEngine` (degree 2) | 74 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 75 |
| LawOfDemeter | Call to `getEngine` on foreign value `mediatorEngine` (degree 2) | 75 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 84 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 89 |
| LawOfDemeter | Call to `threadUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 89 |
| MethodArgumentCouldBeFinal | Parameter 'mediatorEngine' is not assigned and could be declared final | 96 |
| MethodArgumentCouldBeFinal | Parameter 'enginesOrderByMatches' is not assigned and could be declared final | 96 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 99 |
| LawOfDemeter | Call to `getEngine` on foreign value `mediatorEngine` (degree 1) | 99 |
| AvoidLiteralsInIfCondition | Avoid using literals such as 1 in if statements | 102 |
| MethodArgumentCouldBeFinal | Parameter 'mediatorEngine' is not assigned and could be declared final | 113 |
| MethodArgumentCouldBeFinal | Parameter 'pageSource' is not assigned and could be declared final | 113 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 116 |
| LawOfDemeter | Call to `getAuto` on foreign value `mediatorEngine` (degree 1) | 116 |
| MethodArgumentCouldBeFinal | Parameter 'taskCompletionService' is not assigned and could be declared final | 143 |
| MethodArgumentCouldBeFinal | Parameter 'charFromBooleanMatch' is not assigned and could be declared final | 143 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 167–174 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 170 |
| MethodArgumentCouldBeFinal | Parameter 'charFromBooleanMatch' is not assigned and could be declared final | 181 |
| MethodArgumentCouldBeFinal | Parameter 'charactersInsertion' is not assigned and could be declared final | 182 |
| MethodArgumentCouldBeFinal | Parameter 'prefixValue' is not assigned and could be declared final | 183 |
| MethodArgumentCouldBeFinal | Parameter 'prefixQuote' is not assigned and could be declared final | 184 |
| MethodArgumentCouldBeFinal | Parameter 'prefixParenthesis' is not assigned and could be declared final | 185 |
| MethodArgumentCouldBeFinal | Parameter 'characterInsertionByUser' is not assigned and could be declared final | 210 |
| MethodArgumentCouldBeFinal | Parameter 'characterInsertionDetected' is not assigned and could be declared final | 210 |
| ConfusingTernary | Avoid if (x != y) ..; else ..; | 220–240 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 225 |
com/jsql/model/suspendable/SuspendableGetEngine.java
| Rule | Violation | Line |
|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'injectionModel' is not assigned and could be declared final | 21 |
| LawOfDemeter | Call to `filter` on foreign value `this.injectionModel.getMediatorEngine().getEnginesForFingerprint().stream().filter(engine -> engine != this.injectionModel.getMediatorEngine().getAuto())` (degree 2) | 30–35 |
| LawOfDemeter | Call to `filter` on foreign value `this.injectionModel.getMediatorEngine().getEnginesForFingerprint().stream()` (degree 2) | 30–32 |
| LawOfDemeter | Call to `getEnginesForFingerprint` on foreign value `this.injectionModel.getMediatorEngine()` (degree 2) | 30 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 30 |
| LawOfDemeter | Call to `stream` on foreign value `this.injectionModel.getMediatorEngine().getEnginesForFingerprint()` (degree 2) | 30–31 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 32 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 32 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 40 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 52 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 55 |
| ExceptionAsFlowControl | Exception thrown at line 48 is caught in this block. | 57–59 |
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(Input)' 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 `threadUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 34 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 40 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 40 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 41 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 41 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 49–54 |
| LawOfDemeter | Call to `getMediatorEngine` 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 `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 74 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 89 |
| LawOfDemeter | Call to `threadUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 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=18, TCC=0.833%) | 42 |
| TooManyMethods | This class has too many methods, consider refactoring it. | 42–412 |
| MethodArgumentCouldBeFinal | Parameter 'injectionModel' is not assigned and could be declared final | 46 |
| CognitiveComplexity | The method 'run(Input)' has a cognitive complexity of 19, current threshold is 15 | 51 |
| CyclomaticComplexity | The method 'run(Input)' has a cyclomatic complexity of 12. | 51 |
| MethodArgumentCouldBeFinal | Parameter 'input' is not assigned and could be declared final | 51 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 59 |
| LawOfDemeter | Call to `threadUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 59 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) | 61 |
| 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) | 149 |
| LawOfDemeter | Call to `threadUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 149 |
| MethodArgumentCouldBeFinal | Parameter 'currentChunk' is not assigned and could be declared final | 153 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 154 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 154 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 156 |
| MethodArgumentCouldBeFinal | Parameter 'currentChunk' is not assigned and could be declared final | 164 |
| MethodArgumentCouldBeFinal | Parameter 'initialSqlQuery' is not assigned and could be declared final | 164 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 166 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 166 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 170–174 |
| MethodArgumentCouldBeFinal | Parameter 'initialSqlQuery' is not assigned and could be declared final | 179 |
| MethodArgumentCouldBeFinal | Parameter 'countAllRows' is not assigned and could be declared final | 179 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 180 |
| MethodArgumentCouldBeFinal | Parameter 'slidingWindowAllRows' is not assigned and could be declared final | 183 |
| MethodArgumentCouldBeFinal | Parameter 'slidingWindowCurrentRow' is not assigned and could be declared final | 183 |
| AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 219 |
| MethodArgumentCouldBeFinal | Parameter 'slidingWindowCurrentRow' is not assigned and could be declared final | 224 |
| MethodArgumentCouldBeFinal | Parameter 'slidingWindowCurrentRow' is not assigned and could be declared final | 236 |
| MethodArgumentCouldBeFinal | Parameter 'searchName' is not assigned and could be declared final | 254 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 254 |
| InsufficientStringBufferDeclaration | StringBuilder has been initialized with size 48, but has at least 65 characters appended. | 260 |
| MethodArgumentCouldBeFinal | Parameter 'currentChunk' is not assigned and could be declared final | 270 |
| MethodArgumentCouldBeFinal | Parameter 'loop' is not assigned and could be declared final | 284 |
| MethodArgumentCouldBeFinal | Parameter 'previousChunk' is not assigned and could be declared final | 285 |
| MethodArgumentCouldBeFinal | Parameter 'currentChunk' is not assigned and could be declared final | 286 |
| MethodArgumentCouldBeFinal | Parameter 'slidingWindowCurrentRow' is not assigned and could be declared final | 287 |
| MethodArgumentCouldBeFinal | Parameter 'slidingWindowAllRows' is not assigned and could be declared final | 288 |
| AvoidLiteralsInIfCondition | Avoid using literals such as 20 in if statements | 293 |
| MethodArgumentCouldBeFinal | Parameter 'sourcePage' is not assigned and could be declared final | 304 |
| MethodArgumentCouldBeFinal | Parameter 'sourcePage' is not assigned and could be declared final | 320 |
| MethodArgumentCouldBeFinal | Parameter 'performanceLength' is not assigned and could be declared final | 320 |
| MethodArgumentCouldBeFinal | Parameter 'strategy' is not assigned and could be declared final | 335 |
| MethodArgumentCouldBeFinal | Parameter 'slidingWindowAllRows' is not assigned and could be declared final | 336 |
| MethodArgumentCouldBeFinal | Parameter 'slidingWindowCurrentRow' is not assigned and could be declared final | 337 |
| MethodArgumentCouldBeFinal | Parameter 'slidingWindowAllRows' is not assigned and could be declared final | 350 |
| MethodArgumentCouldBeFinal | Parameter 'numberToFind' is not assigned and could be declared final | 371 |
| MethodArgumentCouldBeFinal | Parameter 'countProgress' is not assigned and could be declared final | 371 |
| MethodArgumentCouldBeFinal | Parameter 'searchName' is not assigned and could be declared final | 371 |
| MethodArgumentCouldBeFinal | Parameter 'rows' is not assigned and could be declared final | 377 |
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 |
|---|---|---|
| GodClass | Possible God Class (WMC=49, ATFD=53, TCC=11.688%) | 37 |
| MethodArgumentCouldBeFinal | Parameter 'injectionModel' is not assigned and could be declared final | 49 |
| LawOfDemeter | Call to `certificateUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 56 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 56 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 58 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 58 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 62 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 62 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 65 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 65 |
| LawOfDemeter | Call to `authenticationUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 68 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 68 |
| LawOfDemeter | Call to `authenticationUtil` on foreign value `ConnectionUtil.this.injectionModel.getMediatorUtils()` (degree 2) | 73 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `ConnectionUtil.this.injectionModel` (degree 1) | 73 |
| LawOfDemeter | Call to `authenticationUtil` on foreign value `ConnectionUtil.this.injectionModel.getMediatorUtils()` (degree 2) | 74 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `ConnectionUtil.this.injectionModel` (degree 1) | 74 |
| MethodArgumentCouldBeFinal | Parameter 'httpResponse' is not assigned and could be declared final | 82 |
| MethodArgumentCouldBeFinal | Parameter 'httpHeaders' is not assigned and could be declared final | 89 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 111 |
| LawOfDemeter | Call to `parameterUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 111 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 120 |
| LawOfDemeter | Call to `parameterUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 120 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 122 |
| LawOfDemeter | Call to `parameterUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 122 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 124 |
| LawOfDemeter | Call to `parameterUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 124 |
| LawOfDemeter | Call to `getListRequest` on foreign value `this.injectionModel.getMediatorUtils().parameterUtil()` (degree 2) | 126 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 126 |
| LawOfDemeter | Call to `parameterUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 126 |
| LawOfDemeter | Call to `csrfUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 145 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 145 |
| LawOfDemeter | Call to `digestUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 146 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 146 |
| LawOfDemeter | Call to `getListHeader` on foreign value `this.injectionModel.getMediatorUtils().parameterUtil()` (degree 2) | 151 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 151 |
| LawOfDemeter | Call to `parameterUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 151 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 155 |
| LawOfDemeter | Call to `headerUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 155 |
| CyclomaticComplexity | The method 'testConnection()' has a cyclomatic complexity of 11. | 158 |
| LawOfDemeter | Call to `getCookieStore` on foreign value `this.getCookieManager()` (degree 1) | 161 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 166 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 166 |
| LawOfDemeter | Call to `csrfUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 168 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 168 |
| LawOfDemeter | Call to `digestUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 169 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 169 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 172 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 172 |
| LawOfDemeter | Call to `digestUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 174 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 174 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 180 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 180 |
| MethodArgumentCouldBeFinal | Parameter 'url' is not assigned and could be declared final | 190 |
| MethodArgumentCouldBeFinal | Parameter 'url' is not assigned and could be declared final | 194 |
| MethodArgumentCouldBeFinal | Parameter 'url' is not assigned and could be declared final | 198 |
| MethodArgumentCouldBeFinal | Parameter 'isConnectIssueIgnored' is not assigned and could be declared final | 198 |
| MethodArgumentCouldBeFinal | Parameter 'url' is not assigned and could be declared final | 202 |
| MethodArgumentCouldBeFinal | Parameter 'lineFeed' is not assigned and could be declared final | 202 |
| MethodArgumentCouldBeFinal | Parameter 'isConnectIssueIgnored' is not assigned and could be declared final | 202 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 230 |
| 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 `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 250 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 251 |
| LawOfDemeter | Call to `userAgentUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 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 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 312 |
com/jsql/util/CookiesUtil.java
| Rule | Violation | Line |
|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'injectionModel' is not assigned and could be declared final | 19 |
| MethodArgumentCouldBeFinal | Parameter 'hasFoundInjection' is not assigned and could be declared final | 23 |
| ConfusingTernary | Avoid if (x != y) ..; else ..; | 24–31 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 25 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 25 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 26 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 30 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 33 |
| LawOfDemeter | Call to `parameterUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 33 |
| LawOfDemeter | Call to `filter` on foreign value `this.injectionModel.getMediatorUtils().parameterUtil().getListHeader().stream().filter(entry -> "cookie".equalsIgnoreCase(entry.getKey())).findFirst().map(cookieHeader -> cookieHeader.getValue().split(";")).stream().flatMap(Stream::of)` (degree 2) | 35–42 |
| LawOfDemeter | Call to `filter` on foreign value `this.injectionModel.getMediatorUtils().parameterUtil().getListHeader().stream()` (degree 2) | 35–37 |
| LawOfDemeter | Call to `findFirst` on foreign value `this.injectionModel.getMediatorUtils().parameterUtil().getListHeader().stream().filter(entry -> "cookie".equalsIgnoreCase(entry.getKey()))` (degree 2) | 35–38 |
| LawOfDemeter | Call to `flatMap` on foreign value `this.injectionModel.getMediatorUtils().parameterUtil().getListHeader().stream().filter(entry -> "cookie".equalsIgnoreCase(entry.getKey())).findFirst().map(cookieHeader -> cookieHeader.getValue().split(";")).stream()` (degree 2) | 35–41 |
| LawOfDemeter | Call to `getListHeader` on foreign value `this.injectionModel.getMediatorUtils().parameterUtil()` (degree 2) | 35 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 35 |
| LawOfDemeter | Call to `map` on foreign value `this.injectionModel.getMediatorUtils().parameterUtil().getListHeader().stream().filter(entry -> "cookie".equalsIgnoreCase(entry.getKey())).findFirst().map(cookieHeader -> cookieHeader.getValue().split(";")).stream().flatMap(Stream::of).filter(cookie -> cookie != null && cookie.contains("=")).map(cookie -> cookie.split("=", 2))` (degree 2) | 35–47 |
| LawOfDemeter | Call to `map` on foreign value `this.injectionModel.getMediatorUtils().parameterUtil().getListHeader().stream().filter(entry -> "cookie".equalsIgnoreCase(entry.getKey())).findFirst().map(cookieHeader -> cookieHeader.getValue().split(";")).stream().flatMap(Stream::of).filter(cookie -> cookie != null && cookie.contains("="))` (degree 2) | 35–43 |
| LawOfDemeter | Call to `map` on foreign value `this.injectionModel.getMediatorUtils().parameterUtil().getListHeader().stream().filter(entry -> "cookie".equalsIgnoreCase(entry.getKey())).findFirst()` (degree 2) | 35–39 |
| LawOfDemeter | Call to `parameterUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 35 |
| LawOfDemeter | Call to `stream` on foreign value `this.injectionModel.getMediatorUtils().parameterUtil().getListHeader().stream().filter(entry -> "cookie".equalsIgnoreCase(entry.getKey())).findFirst().map(cookieHeader -> cookieHeader.getValue().split(";"))` (degree 2) | 35–40 |
| LawOfDemeter | Call to `stream` on foreign value `this.injectionModel.getMediatorUtils().parameterUtil().getListHeader()` (degree 2) | 35–36 |
| LawOfDemeter | Call to `toList` on foreign value `this.injectionModel.getMediatorUtils().parameterUtil().getListHeader().stream().filter(entry -> "cookie".equalsIgnoreCase(entry.getKey())).findFirst().map(cookieHeader -> cookieHeader.getValue().split(";")).stream().flatMap(Stream::of).filter(cookie -> cookie != null && cookie.contains("=")).map(cookie -> cookie.split("=", 2)).map(arrayEntry -> new SimpleEntry<>(arrayEntry[0].trim()...))` (degree 2) | 35–48 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 54 |
| LawOfDemeter | Call to `parameterUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 54 |
| LawOfDemeter | Call to `getMediatorMethod` 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 |
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 `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 51 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 55 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 55 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 81 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 81 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 82 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 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 `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 128 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 129 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 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 `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 146 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 148 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 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. | 158–164 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 171 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 171 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 175 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 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 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 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 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 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 `authenticationUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 58 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 58 |
| LawOfDemeter | Call to `authenticationUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 59 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 59 |
| LawOfDemeter | Call to `connectionUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 63 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 63 |
| LawOfDemeter | Call to `connectionUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 70 |
| 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 |
| CyclomaticComplexity | The method 'uncaughtException(Thread, Throwable)' has a cyclomatic complexity of 10. | 41 |
| 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) | 56 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `ExceptionUtil.this.injectionModel.getMediatorUtils()` (degree 2) | 56 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 63 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 66 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `ExceptionUtil.this.injectionModel` (degree 1) | 85 |
| LawOfDemeter | Call to `gitUtil` on foreign value `ExceptionUtil.this.injectionModel.getMediatorUtils()` (degree 2) | 85 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 102 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 105 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 109 |
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 ..; | 58–62 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 58 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 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 `getListQueryString` on foreign value `this.injectionModel.getMediatorUtils().parameterUtil()` (degree 2) | 76 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 76 |
| LawOfDemeter | Call to `parameterUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 76 |
| LawOfDemeter | Call to `getListRequest` on foreign value `this.injectionModel.getMediatorUtils().parameterUtil()` (degree 2) | 83 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 83 |
| LawOfDemeter | Call to `parameterUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 83 |
| MethodArgumentCouldBeFinal | Parameter 'statusCode' is not assigned and could be declared final | 94 |
| LooseCoupling | Avoid using implementation types like 'Elements'; use the interface instead | 94 |
| MethodArgumentCouldBeFinal | Parameter 'elementsForm' is not assigned and could be declared final | 94 |
| MethodArgumentCouldBeFinal | Parameter 'result' is not assigned and could be declared final | 94 |
| AvoidLiteralsInIfCondition | Avoid using literals such as 200 in if statements | 101 |
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 `getMediatorEngine` 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 `proxyUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 135 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 142 |
| LawOfDemeter | Call to `propertiesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 142 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 149 |
| LawOfDemeter | Call to `propertiesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 149 |
| LawOfDemeter | Call to `connectionUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 161 |
| 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 `connectionUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 208 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 208 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 209 |
| LawOfDemeter | Call to `propertiesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 209 |
com/jsql/util/HeaderUtil.java
| Rule | Violation | Line |
|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'injectionModel' is not assigned and could be declared final | 35 |
| MethodArgumentCouldBeFinal | Parameter 'httpRequest' is not assigned and could be declared final | 45 |
| MethodArgumentCouldBeFinal | Parameter 'header' is not assigned and could be declared final | 45 |
| MethodArgumentCouldBeFinal | Parameter 'httpRequestBuilder' is not assigned and could be declared final | 81 |
| MethodArgumentCouldBeFinal | Parameter 'body' is not assigned and could be declared final | 81 |
| LawOfDemeter | Call to `connectionUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 83 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 83 |
| LawOfDemeter | Call to `connectionUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 89 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 89 |
| LawOfDemeter | Call to `formUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 99 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 99 |
| LawOfDemeter | Call to `csrfUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 100 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 100 |
| LawOfDemeter | Call to `digestUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 101 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 101 |
| MethodArgumentCouldBeFinal | Parameter 'response' is not assigned and could be declared final | 127 |
| AvoidLiteralsInIfCondition | Avoid using literals such as 400 in if statements | 128 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 129 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 129 |
| CognitiveComplexity | The method 'checkResponse(String, Map<String, String>)' has a cognitive complexity of 18, current threshold is 15 | 137 |
| CyclomaticComplexity | The method 'checkResponse(String, Map<String, String>)' has a cyclomatic complexity of 11. | 137 |
| MethodArgumentCouldBeFinal | Parameter 'responseCode' is not assigned and could be declared final | 137 |
| MethodArgumentCouldBeFinal | Parameter 'mapResponse' is not assigned and could be declared final | 137 |
| ConfusingTernary | Avoid if (x != y) ..; else ..; | 172–176 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 172 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 172 |
| MethodArgumentCouldBeFinal | Parameter 'responseCode' is not assigned and could be declared final | 186 |
| MethodArgumentCouldBeFinal | Parameter 'mapResponse' is not assigned and could be declared final | 186 |
| MethodArgumentCouldBeFinal | Parameter 'responseCode' is not assigned and could be declared final | 192 |
| MethodArgumentCouldBeFinal | Parameter 'mapResponse' is not assigned and could be declared final | 192 |
| MethodArgumentCouldBeFinal | Parameter 'responseCode' is not assigned and could be declared final | 199 |
| MethodArgumentCouldBeFinal | Parameter 'mapResponse' is not assigned and could be declared final | 199 |
| MethodArgumentCouldBeFinal | Parameter 'responseCode' is not assigned and could be declared final | 205 |
| MethodArgumentCouldBeFinal | Parameter 'mapResponse' is not assigned and could be declared final | 205 |
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 | 87 |
| MethodArgumentCouldBeFinal | Parameter 'methodInjection' is not assigned and could be declared final | 99 |
| MethodArgumentCouldBeFinal | Parameter 'paramStar' is not assigned and could be declared final | 99 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) | 130 |
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 ..; | 23–27 |
| 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 `parameterUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 29 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 30 |
| LawOfDemeter | Call to `parameterUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 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 |
| LawOfDemeter | Call to `parameterUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 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=68, TCC=16.190%) | 24 |
| CyclomaticComplexity | The class 'ParameterUtil' has a total cyclomatic complexity of 83 (highest 13). | 24 |
| TooManyMethods | This class has too many methods, consider refactoring it. | 24–409 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isMultipartRequest' | 46 |
| AvoidFieldNameMatchingMethodName | Field isMultipartRequest has the same name as a method | 46 |
| MethodArgumentCouldBeFinal | Parameter 'injectionModel' is not assigned and could be declared final | 65 |
| UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 74 |
| CyclomaticComplexity | The method 'controlInput(String, String, String, AbstractMethodInjection, String, boolean)' has a cyclomatic complexity of 13. | 74 |
| MethodArgumentCouldBeFinal | Parameter 'urlQuery' is not assigned and could be declared final | 75 |
| MethodArgumentCouldBeFinal | Parameter 'rawRequest' is not assigned and could be declared final | 76 |
| MethodArgumentCouldBeFinal | Parameter 'rawHeader' is not assigned and could be declared final | 77 |
| MethodArgumentCouldBeFinal | Parameter 'methodInjection' is not assigned and could be declared final | 78 |
| MethodArgumentCouldBeFinal | Parameter 'typeRequest' is not assigned and could be declared final | 79 |
| MethodArgumentCouldBeFinal | Parameter 'isScanning' is not assigned and could be declared final | 80 |
| ConfusingTernary | Avoid if (x != y) ..; else ..; | 88–93 |
| AvoidLiteralsInIfCondition | Avoid using literals such as 65535 in if statements | 97 |
| UseUnderscoresInNumericLiterals | Number 65535 should separate every third digit with an underscore | 97 |
| LawOfDemeter | Call to `connectionUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 114 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 114 |
| LawOfDemeter | Call to `connectionUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 115 |
| 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. | 120 |
| ExceptionAsFlowControl | Exception thrown at line 102 is caught in this block. | 122–127 |
| ExceptionAsFlowControl | Exception thrown at line 86 is caught in this block. | 122–127 |
| ExceptionAsFlowControl | Exception thrown at line 92 is caught in this block. | 122–127 |
| ExceptionAsFlowControl | Exception thrown at line 98 is caught in this block. | 122–127 |
| LawOfDemeter | Call to `connectionUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 139 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 139 |
| LawOfDemeter | Call to `connectionUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 142 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 142 |
| MethodArgumentCouldBeFinal | Parameter 'token' is not assigned and could be declared final | 150 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 154 |
| ConfusingTernary | Avoid if (x != y) ..; else ..; | 177–183 |
| CyclomaticComplexity | The method 'checkStarMatchMethod()' has a cyclomatic complexity of 13. | 212 |
| LawOfDemeter | Call to `connectionUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 213 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 213 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 214 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 214 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 218 |
| LawOfDemeter | Call to `getMediatorMethod` on foreign value `this.injectionModel` (degree 1) | 218 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 224 |
| LawOfDemeter | Call to `getMediatorMethod` on foreign value `this.injectionModel` (degree 1) | 224 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 230 |
| LawOfDemeter | Call to `getMediatorMethod` on foreign value `this.injectionModel` (degree 1) | 230 |
| CyclomaticComplexity | The method 'checkMethodNotEmpty()' has a cyclomatic complexity of 12. | 237 |
| LawOfDemeter | Call to `connectionUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 238 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 238 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 239 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 239 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 242 |
| LawOfDemeter | Call to `getMediatorMethod` on foreign value `this.injectionModel` (degree 1) | 242 |
| LawOfDemeter | Call to `connectionUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 245 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 245 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 249 |
| LawOfDemeter | Call to `getMediatorMethod` on foreign value `this.injectionModel` (degree 1) | 249 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 254 |
| LawOfDemeter | Call to `getMediatorMethod` on foreign value `this.injectionModel` (degree 1) | 254 |
| MethodArgumentCouldBeFinal | Parameter 'parameterToInject' is not assigned and could be declared final | 261 |
| MethodArgumentCouldBeFinal | Parameter 'urlQuery' is not assigned and could be declared final | 272 |
| LawOfDemeter | Call to `connectionUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 283 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 283 |
| LawOfDemeter | Call to `connectionUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 284 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 284 |
| LawOfDemeter | Call to `connectionUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 293 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 293 |
| MethodArgumentCouldBeFinal | Parameter 'rawRequest' is not assigned and could be declared final | 306 |
| MethodArgumentCouldBeFinal | Parameter 'rawHeader' is not assigned and could be declared final | 328 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) | 347 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 347 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) | 347 |
com/jsql/util/PreferencesUtil.java
| Rule | Violation | Line |
|---|---|---|
| CyclomaticComplexity | The class 'PreferencesUtil' has a total cyclomatic complexity of 136 (highest 3). | 21 |
| ExcessivePublicCount | This class has a bunch of public methods and attributes | 21 |
| TooManyMethods | This class has too many methods, consider refactoring it. | 21–896 |
| TooManyFields | Too many fields | 21–896 |
| AvoidFieldNameMatchingMethodName | Field isCheckingUpdate has the same name as a method | 34 |
| AvoidFieldNameMatchingMethodName | Field isShowNews has the same name as a method | 35 |
| AvoidFieldNameMatchingMethodName | Field isReportingBugs has the same name as a method | 38 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'is4K' | 40 |
| AvoidFieldNameMatchingMethodName | Field is4K has the same name as a method | 40 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isFollowingRedirection' | 42 |
| AvoidFieldNameMatchingMethodName | Field isFollowingRedirection has the same name as a method | 42 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isHttp2Disabled' | 43 |
| AvoidFieldNameMatchingMethodName | Field isHttp2Disabled has the same name as a method | 43 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isNotInjectingMetadata' | 45 |
| AvoidFieldNameMatchingMethodName | Field isNotInjectingMetadata has the same name as a method | 45 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isNotSearchingCharInsertion' | 46 |
| AvoidFieldNameMatchingMethodName | Field isNotSearchingCharInsertion has the same name as a method | 46 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isNotShowingVulnReport' | 47 |
| AvoidFieldNameMatchingMethodName | Field isNotShowingVulnReport has the same name as a method | 47 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isCheckingAllParam' | 49 |
| AvoidFieldNameMatchingMethodName | Field isCheckingAllParam has the same name as a method | 49 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isCheckingAllURLParam' | 50 |
| AvoidFieldNameMatchingMethodName | Field isCheckingAllURLParam has the same name as a method | 50 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isCheckingAllRequestParam' | 51 |
| AvoidFieldNameMatchingMethodName | Field isCheckingAllRequestParam has the same name as a method | 51 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isCheckingAllHeaderParam' | 52 |
| AvoidFieldNameMatchingMethodName | Field isCheckingAllHeaderParam has the same name as a method | 52 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isCheckingAllBase64Param' | 53 |
| AvoidFieldNameMatchingMethodName | Field isCheckingAllBase64Param has the same name as a method | 53 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isCheckingAllJsonParam' | 54 |
| AvoidFieldNameMatchingMethodName | Field isCheckingAllJsonParam has the same name as a method | 54 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isCheckingAllCookieParam' | 55 |
| AvoidFieldNameMatchingMethodName | Field isCheckingAllCookieParam has the same name as a method | 55 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isCheckingAllSoapParam' | 56 |
| AvoidFieldNameMatchingMethodName | Field isCheckingAllSoapParam has the same name as a method | 56 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isPerfIndexDisabled' | 58 |
| AvoidFieldNameMatchingMethodName | Field isPerfIndexDisabled has the same name as a method | 58 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isDefaultStrategy' | 59 |
| AvoidFieldNameMatchingMethodName | Field isDefaultStrategy has the same name as a method | 59 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isZipStrategy' | 60 |
| AvoidFieldNameMatchingMethodName | Field isZipStrategy has the same name as a method | 60 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isDiosStrategy' | 61 |
| AvoidFieldNameMatchingMethodName | Field isDiosStrategy has the same name as a method | 61 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isUrlEncodingDisabled' | 62 |
| AvoidFieldNameMatchingMethodName | Field isUrlEncodingDisabled has the same name as a method | 62 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isUrlRandomSuffixDisabled' | 63 |
| AvoidFieldNameMatchingMethodName | Field isUrlRandomSuffixDisabled has the same name as a method | 63 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isParsingForm' | 65 |
| AvoidFieldNameMatchingMethodName | Field isParsingForm has the same name as a method | 65 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isNotTestingConnection' | 66 |
| AvoidFieldNameMatchingMethodName | Field isNotTestingConnection has the same name as a method | 66 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isNotProcessingCookies' | 67 |
| AvoidFieldNameMatchingMethodName | Field isNotProcessingCookies has the same name as a method | 67 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isProcessingCsrf' | 68 |
| AvoidFieldNameMatchingMethodName | Field isProcessingCsrf has the same name as a method | 68 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isTamperingBase64' | 70 |
| AvoidFieldNameMatchingMethodName | Field isTamperingBase64 has the same name as a method | 70 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isTamperingFunctionComment' | 71 |
| AvoidFieldNameMatchingMethodName | Field isTamperingFunctionComment has the same name as a method | 71 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isTamperingVersionComment' | 72 |
| AvoidFieldNameMatchingMethodName | Field isTamperingVersionComment has the same name as a method | 72 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isTamperingEqualToLike' | 73 |
| AvoidFieldNameMatchingMethodName | Field isTamperingEqualToLike has the same name as a method | 73 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isTamperingRandomCase' | 74 |
| AvoidFieldNameMatchingMethodName | Field isTamperingRandomCase has the same name as a method | 74 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isTamperingEval' | 75 |
| AvoidFieldNameMatchingMethodName | Field isTamperingEval has the same name as a method | 75 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isTamperingSpaceToMultilineComment' | 76 |
| AvoidFieldNameMatchingMethodName | Field isTamperingSpaceToMultilineComment has the same name as a method | 76 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isTamperingSpaceToDashComment' | 77 |
| AvoidFieldNameMatchingMethodName | Field isTamperingSpaceToDashComment has the same name as a method | 77 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isTamperingSpaceToSharpComment' | 78 |
| AvoidFieldNameMatchingMethodName | Field isTamperingSpaceToSharpComment has the same name as a method | 78 |
| AvoidFieldNameMatchingMethodName | Field csrfUserTag has the same name as a method | 80 |
| AvoidFieldNameMatchingMethodName | Field csrfUserTagOutput has the same name as a method | 81 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isCsrfUserTag' | 82 |
| AvoidFieldNameMatchingMethodName | Field isCsrfUserTag has the same name as a method | 82 |
| AvoidFieldNameMatchingMethodName | Field isLimitingThreads has the same name as a method | 83 |
| AvoidFieldNameMatchingMethodName | Field countLimitingThreads has the same name as a method | 84 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isConnectionTimeout' | 85 |
| AvoidFieldNameMatchingMethodName | Field isConnectionTimeout has the same name as a method | 85 |
| AvoidFieldNameMatchingMethodName | Field countConnectionTimeout has the same name as a method | 86 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isUnicodeDecodeDisabled' | 87 |
| AvoidFieldNameMatchingMethodName | Field isUnicodeDecodeDisabled has the same name as a method | 87 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isUrlDecodeDisabled' | 88 |
| AvoidFieldNameMatchingMethodName | Field isUrlDecodeDisabled has the same name as a method | 88 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isStrategyTimeDisabled' | 90 |
| AvoidFieldNameMatchingMethodName | Field isStrategyTimeDisabled has the same name as a method | 90 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isStrategyBlindBinDisabled' | 91 |
| AvoidFieldNameMatchingMethodName | Field isStrategyBlindBinDisabled has the same name as a method | 91 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isStrategyBlindBitDisabled' | 92 |
| AvoidFieldNameMatchingMethodName | Field isStrategyBlindBitDisabled has the same name as a method | 92 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isStrategyMultibitDisabled' | 93 |
| AvoidFieldNameMatchingMethodName | Field isStrategyMultibitDisabled has the same name as a method | 93 |
| AvoidFieldNameMatchingMethodName | Field isStrategyDnsDisabled has the same name as a method | 94 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isStrategyStackDisabled' | 95 |
| AvoidFieldNameMatchingMethodName | Field isStrategyStackDisabled has the same name as a method | 95 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isStrategyErrorDisabled' | 96 |
| AvoidFieldNameMatchingMethodName | Field isStrategyErrorDisabled has the same name as a method | 96 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isStrategyUnionDisabled' | 97 |
| AvoidFieldNameMatchingMethodName | Field isStrategyUnionDisabled has the same name as a method | 97 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isLimitingUnionIndex' | 99 |
| AvoidFieldNameMatchingMethodName | Field isLimitingUnionIndex has the same name as a method | 99 |
| AvoidFieldNameMatchingMethodName | Field countUnionIndex has the same name as a method | 100 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isLimitingSleepTimeStrategy' | 101 |
| AvoidFieldNameMatchingMethodName | Field isLimitingSleepTimeStrategy has the same name as a method | 101 |
| AvoidFieldNameMatchingMethodName | Field countSleepTimeStrategy has the same name as a method | 102 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isUserAgentRandom' | 106 |
| AvoidFieldNameMatchingMethodName | Field isUserAgentRandom has the same name as a method | 106 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isUrlDecodeNetworkTab' | 107 |
| AvoidFieldNameMatchingMethodName | Field isUrlDecodeNetworkTab has the same name as a method | 107 |
| MethodArgumentCouldBeFinal | Parameter 'commandsReverseYaml' is not assigned and could be declared final | 127 |
| NcssCount | The method 'loadSavedPreferences()' has a NCSS line count of 65. | 142 |
| NcssCount | The method 'persist()' has a NCSS line count of 64. | 227 |
| MethodArgumentCouldBeFinal | Parameter 'path' is not assigned and could be declared final | 307 |
| MethodArgumentCouldBeFinal | Parameter 'isCheckingUpdate' is not assigned and could be declared final | 583 |
| MethodArgumentCouldBeFinal | Parameter 'isShowNews' is not assigned and could be declared final | 588 |
| MethodArgumentCouldBeFinal | Parameter 'isReportingBugs' is not assigned and could be declared final | 592 |
| MethodArgumentCouldBeFinal | Parameter 'is4K' is not assigned and could be declared final | 597 |
| MethodArgumentCouldBeFinal | Parameter 'isFollowingRedirection' is not assigned and could be declared final | 602 |
| MethodArgumentCouldBeFinal | Parameter 'isHttp2Disabled' is not assigned and could be declared final | 607 |
| MethodArgumentCouldBeFinal | Parameter 'isUnicodeDecodeDisabled' is not assigned and could be declared final | 612 |
| MethodArgumentCouldBeFinal | Parameter 'isUrlDecodeDisabled' is not assigned and could be declared final | 617 |
| MethodArgumentCouldBeFinal | Parameter 'isNotInjectingMetadata' is not assigned and could be declared final | 622 |
| MethodArgumentCouldBeFinal | Parameter 'isNotSearchingCharInsertion' is not assigned and could be declared final | 627 |
| MethodArgumentCouldBeFinal | Parameter 'isNotShowingVulnReport' is not assigned and could be declared final | 632 |
| MethodArgumentCouldBeFinal | Parameter 'isCheckingAllParam' is not assigned and could be declared final | 637 |
| MethodArgumentCouldBeFinal | Parameter 'isCheckingAllURLParam' is not assigned and could be declared final | 642 |
| MethodArgumentCouldBeFinal | Parameter 'isCheckingAllRequestParam' is not assigned and could be declared final | 647 |
| MethodArgumentCouldBeFinal | Parameter 'isCheckingAllHeaderParam' is not assigned and could be declared final | 652 |
| MethodArgumentCouldBeFinal | Parameter 'isCheckingAllBase64Param' is not assigned and could be declared final | 657 |
| MethodArgumentCouldBeFinal | Parameter 'isCheckingAllJSONParam' is not assigned and could be declared final | 662 |
| MethodArgumentCouldBeFinal | Parameter 'isCheckingAllCookieParam' is not assigned and could be declared final | 667 |
| MethodArgumentCouldBeFinal | Parameter 'isCheckingAllSOAPParam' is not assigned and could be declared final | 672 |
| MethodArgumentCouldBeFinal | Parameter 'isParsingForm' is not assigned and could be declared final | 677 |
| MethodArgumentCouldBeFinal | Parameter 'isNotTestingConnection' is not assigned and could be declared final | 682 |
| MethodArgumentCouldBeFinal | Parameter 'isNotProcessingCookies' is not assigned and could be declared final | 687 |
| MethodArgumentCouldBeFinal | Parameter 'isProcessingCsrf' is not assigned and could be declared final | 692 |
| MethodArgumentCouldBeFinal | Parameter 'isTamperingBase64' is not assigned and could be declared final | 697 |
| MethodArgumentCouldBeFinal | Parameter 'isTamperingFunctionComment' is not assigned and could be declared final | 702 |
| MethodArgumentCouldBeFinal | Parameter 'isTamperingVersionComment' is not assigned and could be declared final | 707 |
| MethodArgumentCouldBeFinal | Parameter 'isTamperingEqualToLike' is not assigned and could be declared final | 712 |
| MethodArgumentCouldBeFinal | Parameter 'isTamperingRandomCase' is not assigned and could be declared final | 717 |
| MethodArgumentCouldBeFinal | Parameter 'isTamperingEval' is not assigned and could be declared final | 722 |
| MethodArgumentCouldBeFinal | Parameter 'isTamperingSpaceToMultilineComment' is not assigned and could be declared final | 727 |
| MethodArgumentCouldBeFinal | Parameter 'isTamperingSpaceToDashComment' is not assigned and could be declared final | 732 |
| MethodArgumentCouldBeFinal | Parameter 'isTamperingSpaceToSharpComment' is not assigned and could be declared final | 737 |
| MethodArgumentCouldBeFinal | Parameter 'csrfUserTag' is not assigned and could be declared final | 742 |
| MethodArgumentCouldBeFinal | Parameter 'csrfUserTagOutput' is not assigned and could be declared final | 747 |
| MethodArgumentCouldBeFinal | Parameter 'isCsrfUserTag' is not assigned and could be declared final | 752 |
| MethodArgumentCouldBeFinal | Parameter 'isLimitingThreads' is not assigned and could be declared final | 757 |
| MethodArgumentCouldBeFinal | Parameter 'isConnectionTimeout' is not assigned and could be declared final | 762 |
| MethodArgumentCouldBeFinal | Parameter 'isLimitingSleepTimeStrategy' is not assigned and could be declared final | 767 |
| MethodArgumentCouldBeFinal | Parameter 'countLimitingThreads' is not assigned and could be declared final | 772 |
| MethodArgumentCouldBeFinal | Parameter 'countConnectionTimeout' is not assigned and could be declared final | 777 |
| MethodArgumentCouldBeFinal | Parameter 'countSleepTimeStrategy' is not assigned and could be declared final | 782 |
| MethodArgumentCouldBeFinal | Parameter 'isZipStrategy' is not assigned and could be declared final | 787 |
| MethodArgumentCouldBeFinal | Parameter 'isDefaultStrategy' is not assigned and could be declared final | 792 |
| MethodArgumentCouldBeFinal | Parameter 'isDiosStrategy' is not assigned and could be declared final | 797 |
| MethodArgumentCouldBeFinal | Parameter 'isPerfIndexDisabled' is not assigned and could be declared final | 802 |
| MethodArgumentCouldBeFinal | Parameter 'isUrlEncodingDisabled' is not assigned and could be declared final | 807 |
| MethodArgumentCouldBeFinal | Parameter 'isUrlRandomSuffixDisabled' is not assigned and could be declared final | 812 |
| MethodArgumentCouldBeFinal | Parameter 'isLimitingUnionIndex' is not assigned and could be declared final | 817 |
| MethodArgumentCouldBeFinal | Parameter 'countUnionIndex' is not assigned and could be declared final | 822 |
| MethodArgumentCouldBeFinal | Parameter 'dnsDomain' is not assigned and could be declared final | 827 |
| MethodArgumentCouldBeFinal | Parameter 'dnsPort' is not assigned and could be declared final | 832 |
| MethodArgumentCouldBeFinal | Parameter 'isStrategyTimeDisabled' is not assigned and could be declared final | 837 |
| MethodArgumentCouldBeFinal | Parameter 'isStrategyBlindBitDisabled' is not assigned and could be declared final | 842 |
| MethodArgumentCouldBeFinal | Parameter 'isStrategyBlindBinDisabled' is not assigned and could be declared final | 847 |
| MethodArgumentCouldBeFinal | Parameter 'isStrategyMultibitDisabled' is not assigned and could be declared final | 852 |
| MethodArgumentCouldBeFinal | Parameter 'isStrategyStackDisabled' is not assigned and could be declared final | 857 |
| MethodArgumentCouldBeFinal | Parameter 'isStrategyDnsDisabled' is not assigned and could be declared final | 862 |
| MethodArgumentCouldBeFinal | Parameter 'isStrategyErrorDisabled' is not assigned and could be declared final | 867 |
| MethodArgumentCouldBeFinal | Parameter 'isStrategyUnionDisabled' is not assigned and could be declared final | 872 |
| MethodArgumentCouldBeFinal | Parameter 'themeFlatLafName' is not assigned and could be declared final | 877 |
| MethodArgumentCouldBeFinal | Parameter 'isUrlDecodeNetworkTab' is not assigned and could be declared final | 882 |
| MethodArgumentCouldBeFinal | Parameter 'languageTag' is not assigned and could be declared final | 887 |
| MethodArgumentCouldBeFinal | Parameter 'selected' is not assigned and could be declared final | 892 |
com/jsql/util/PropertiesUtil.java
| Rule | Violation | Line |
|---|---|---|
| UseProperClassLoader | In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. | 29 |
| MethodArgumentCouldBeFinal | Parameter 'newLocale' is not assigned and could be declared final | 40 |
| MethodArgumentCouldBeFinal | Parameter 'name' is not assigned and could be declared final | 64 |
| MethodArgumentCouldBeFinal | Parameter 'property' is not assigned and could be declared final | 87 |
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 ..; | 36–40 |
| 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 `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 43 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 44 |
| LawOfDemeter | Call to `parameterUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 44 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 47 |
| LawOfDemeter | Call to `parameterUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 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 `parameterUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 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 | 135–137 |
com/jsql/util/StringUtil.java
| Rule | Violation | Line |
|---|---|---|
| GodClass | Possible God Class (WMC=59, ATFD=13, TCC=0.000%) | 38 |
| TooManyMethods | This class has too many methods, consider refactoring it. | 38–346 |
| MethodArgumentCouldBeFinal | Parameter 'c' is not assigned and could be declared final | 54 |
| MethodArgumentCouldBeFinal | Parameter 'buff' is not assigned and could be declared final | 54 |
| MethodArgumentCouldBeFinal | Parameter 'text' is not assigned and could be declared final | 70 |
| MethodArgumentCouldBeFinal | Parameter 'text' is not assigned and could be declared final | 79 |
| AvoidLiteralsInIfCondition | Avoid using literals such as 128 in if statements | 82 |
| MethodArgumentCouldBeFinal | Parameter 'hex' is not assigned and could be declared final | 96 |
| MethodArgumentCouldBeFinal | Parameter 'text' is not assigned and could be declared final | 104 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 106 |
| MethodArgumentCouldBeFinal | Parameter 'text' is not assigned and could be declared final | 115 |
| SimplifyBooleanReturns | This if statement can be replaced by `return !{condition} && {elseBranch};` | 116–118 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 117 |
| MethodArgumentCouldBeFinal | Parameter 's' is not assigned and could be declared final | 126 |
| MethodArgumentCouldBeFinal | Parameter 's' is not assigned and could be declared final | 131 |
| MethodArgumentCouldBeFinal | Parameter 's' is not assigned and could be declared final | 136 |
| MethodArgumentCouldBeFinal | Parameter 's' is not assigned and could be declared final | 140 |
| MethodArgumentCouldBeFinal | Parameter 's' is not assigned and could be declared final | 144 |
| MethodArgumentCouldBeFinal | Parameter 's' is not assigned and could be declared final | 149 |
| MethodArgumentCouldBeFinal | Parameter 's' is not assigned and could be declared final | 154 |
| MethodArgumentCouldBeFinal | Parameter 's' is not assigned and could be declared final | 158 |
| MethodArgumentCouldBeFinal | Parameter 'text' is not assigned and could be declared final | 162 |
| MethodArgumentCouldBeFinal | Parameter 'text' is not assigned and could be declared final | 166 |
| MethodArgumentCouldBeFinal | Parameter 'text' is not assigned and could be declared final | 171 |
| MethodArgumentCouldBeFinal | Parameter 'text' is not assigned and could be declared final | 176 |
| MethodArgumentCouldBeFinal | Parameter 'text' is not assigned and could be declared final | 180 |
| RelianceOnDefaultCharset | Specify a character set instead of relying on the default charset | 181 |
| MethodArgumentCouldBeFinal | Parameter 'text' is not assigned and could be declared final | 184 |
| MethodArgumentCouldBeFinal | Parameter 'text' is not assigned and could be declared final | 189 |
| MethodArgumentCouldBeFinal | Parameter 'text' is not assigned and could be declared final | 193 |
| MethodArgumentCouldBeFinal | Parameter 'text' is not assigned and could be declared final | 197 |
| MethodArgumentCouldBeFinal | Parameter 'text' is not assigned and could be declared final | 201 |
| MethodArgumentCouldBeFinal | Parameter 'query' is not assigned and could be declared final | 205 |
| MethodArgumentCouldBeFinal | Parameter 'query' is not assigned and could be declared final | 218 |
| MethodArgumentCouldBeFinal | Parameter 'color' is not assigned and could be declared final | 225 |
| MethodArgumentCouldBeFinal | Parameter 'text' is not assigned and could be declared final | 225 |
| MethodArgumentCouldBeFinal | Parameter 'text' is not assigned and could be declared final | 238 |
| RelianceOnDefaultCharset | Specify a character set instead of relying on the default charset | 241 |
| MethodArgumentCouldBeFinal | Parameter 'compressedTxt' is not assigned and could be declared final | 246 |
| MethodArgumentCouldBeFinal | Parameter 'hexString' is not assigned and could be declared final | 254 |
| MethodArgumentCouldBeFinal | Parameter 'hexChar' is not assigned and could be declared final | 260 |
| MethodArgumentCouldBeFinal | Parameter 'num' is not assigned and could be declared final | 268 |
| MethodArgumentCouldBeFinal | Parameter 'byteArray' is not assigned and could be declared final | 275 |
| MethodArgumentCouldBeFinal | Parameter 'hexString' is not assigned and could be declared final | 283 |
| AvoidLiteralsInIfCondition | Avoid using literals such as 1 in if statements | 284 |
| MethodArgumentCouldBeFinal | Parameter 'string' is not assigned and could be declared final | 294 |
| MethodArgumentCouldBeFinal | Parameter 'bytes' is not assigned and could be declared final | 298 |
| MethodArgumentCouldBeFinal | Parameter 'plaintext' is not assigned and could be declared final | 302 |
| MethodArgumentCouldBeFinal | Parameter 'key' is not assigned and could be declared final | 302 |
| MethodArgumentCouldBeFinal | Parameter 'fileData' is not assigned and could be declared final | 310 |
| MethodArgumentCouldBeFinal | Parameter 'path' is not assigned and could be declared final | 324 |
| UseProperClassLoader | In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. | 327 |
| AssignmentInOperand | Avoid assignment to line in operand | 332 |
| AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 333 |
| MethodArgumentCouldBeFinal | Parameter 'fileData' is not assigned and could be declared final | 341 |
| UseUnderscoresInNumericLiterals | Number 353837730 should separate every third digit with an underscore | 342 |
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. | 14–276 |
| 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. | 52–59 |
| 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) | 91 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 91 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 92 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 92 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 93 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 95 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 100 |
| MethodArgumentCouldBeFinal | Parameter 'taskExecutor' is not assigned and could be declared final | 100 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 102 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 102 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 103 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 103 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 106 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 107 |
| 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. | 112 |
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 | 15 |
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 21 |
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 27 |
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 33 |
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 39 |
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 45 |
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 51 |
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 57 |
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 63 |
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 69 |
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 75 |
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 81 |
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 87 |
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 93 |
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 99 |
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 105 |
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 111 |
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 117 |
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 123 |
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 129 |
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 135 |
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 141 |
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 147 |
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 153 |
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 159 |
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 165 |
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 171 |
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 177 |
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 183 |
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 189 |
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 195 |
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 201 |
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 207 |
| MethodArgumentCouldBeFinal | Parameter 'name' is not assigned and could be declared final | 219 |
| MethodArgumentCouldBeFinal | Parameter 'name' is not assigned and could be declared final | 222 |
| MethodArgumentCouldBeFinal | Parameter 'isHash' is not assigned and could be declared final | 222 |
| MethodArgumentCouldBeFinal | Parameter 'name' is not assigned and could be declared final | 225 |
| MethodArgumentCouldBeFinal | Parameter 'isHash' is not assigned and could be declared final | 225 |
| MethodArgumentCouldBeFinal | Parameter 'isEmptyPossible' is not assigned and could be declared final | 225 |
| MethodArgumentCouldBeFinal | Parameter 'name' is not assigned and could be declared final | 245 |
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 12. | 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 |
| AvoidLiteralsInIfCondition | Avoid using literals such as 128 in if statements | 72 |
| 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 |
| CyclomaticComplexity | The method 'generateAllPossibleCombinations(String, int)' has a cyclomatic complexity of 13. | 35 |
| MethodArgumentCouldBeFinal | Parameter 'baseString' is not assigned and could be declared final | 35 |
| MethodArgumentCouldBeFinal | Parameter 'length' is not assigned and could be declared final | 35 |
| UseLocaleWithCaseConversions | When doing a String.toLowerCase()/toUpperCase() call, use a Locale | 38 |
| MethodArgumentCouldBeFinal | Parameter 'hash' is not assigned and could be declared final | 69 |
| MethodArgumentCouldBeFinal | Parameter 'digestType' is not assigned and could be declared final | 73 |
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/subscriber/AbstractSubscriber.java
| Rule | Violation | Line |
|---|---|---|
| AtLeastOneConstructor | Each class should declare at least one constructor | 11 |
| MethodArgumentCouldBeFinal | Parameter 'subscription' is not assigned and could be declared final | 18 |
| MethodArgumentCouldBeFinal | Parameter 'request' is not assigned and could be declared final | 24 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 28 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 30 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 38 |
com/jsql/view/subscriber/Seal.java
| Rule | Violation | Line |
|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'o' is not assigned and could be declared final | 57 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 58 |
| ControlStatementBraces | This statement should have braces | 58 |
| MethodArgumentCouldBeFinal | Parameter 'strategy' is not assigned and could be declared final | 83 |
| MethodArgumentCouldBeFinal | Parameter 'strategy' is not assigned and could be declared final | 88 |
| NPathComplexity | The constructor 'MessageHeader(String, String, Map<String, String>, Map<String, String>, String, String, String, String, AbstractCallableBit<?>)' has an NPath complexity of 256, current threshold is 200 | 110 |
| MethodArgumentCouldBeFinal | Parameter 'url' is not assigned and could be declared final | 111 |
| MethodArgumentCouldBeFinal | Parameter 'post' is not assigned and could be declared final | 112 |
| MethodArgumentCouldBeFinal | Parameter 'header' is not assigned and could be declared final | 113 |
| MethodArgumentCouldBeFinal | Parameter 'response' is not assigned and could be declared final | 114 |
| MethodArgumentCouldBeFinal | Parameter 'source' is not assigned and could be declared final | 115 |
| MethodArgumentCouldBeFinal | Parameter 'size' is not assigned and could be declared final | 116 |
| MethodArgumentCouldBeFinal | Parameter 'metadataStrategy' is not assigned and could be declared final | 117 |
| MethodArgumentCouldBeFinal | Parameter 'metadataProcess' is not assigned and could be declared final | 118 |
| MethodArgumentCouldBeFinal | Parameter 'metadataBoolean' is not assigned and could be declared final | 119 |
com/jsql/view/subscriber/SubscriberLogger.java
| Rule | Violation | Line |
|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'model' is not assigned and could be declared final | 27 |
| MethodArgumentCouldBeFinal | Parameter 'request' is not assigned and could be declared final | 32 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.model` (degree 1) | 44 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.model` (degree 1) | 53 |
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. | 381 |
com/jsql/model/accessible/engine/derby/File.java
| Rule | Violation | Line |
|---|---|---|
| ShortClassName | Avoid short class names like File | 5 |
com/jsql/model/accessible/engine/h2/File.java
| Rule | Violation | Line |
|---|---|---|
| ShortClassName | Avoid short class names like File | 5 |
com/jsql/model/accessible/engine/h2/Rce.java
| Rule | Violation | Line |
|---|---|---|
| ShortClassName | Avoid short class names like Rce | 5 |
com/jsql/model/accessible/engine/hsqldb/File.java
| Rule | Violation | Line |
|---|---|---|
| ShortClassName | Avoid short class names like File | 5 |
com/jsql/model/accessible/engine/hsqldb/Read.java
| Rule | Violation | Line |
|---|---|---|
| ShortClassName | Avoid short class names like Read | 5 |
com/jsql/model/accessible/engine/mysql/File.java
| Rule | Violation | Line |
|---|---|---|
| ShortClassName | Avoid short class names like File | 7 |
com/jsql/model/accessible/engine/mysql/Udf.java
| Rule | Violation | Line |
|---|---|---|
| ShortClassName | Avoid short class names like Udf | 7 |
com/jsql/model/accessible/engine/oracle/Udf.java
| Rule | Violation | Line |
|---|---|---|
| ShortClassName | Avoid short class names like Udf | 8 |
com/jsql/model/accessible/engine/postgres/File.java
| Rule | Violation | Line |
|---|---|---|
| ShortClassName | Avoid short class names like File | 5 |
com/jsql/model/accessible/engine/postgres/Read.java
| Rule | Violation | Line |
|---|---|---|
| ShortClassName | Avoid short class names like Read | 7 |
com/jsql/model/accessible/engine/postgres/Sql.java
| Rule | Violation | Line |
|---|---|---|
| ShortClassName | Avoid short class names like Sql | 7 |
com/jsql/model/accessible/engine/postgres/Udf.java
| Rule | Violation | Line |
|---|---|---|
| ShortClassName | Avoid short class names like Udf | 7 |
com/jsql/model/injection/engine/model/AbstractEngine.java
| Rule | Violation | Line |
|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 30 |
com/jsql/model/injection/engine/model/yaml/Row.java
| Rule | Violation | Line |
|---|---|---|
| ShortClassName | Avoid short class names like Row | 8 |
com/jsql/model/injection/engine/model/yaml/Test.java
| Rule | Violation | Line |
|---|---|---|
| ShortClassName | Avoid short class names like Test | 11 |
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/suspendable/SuspendableGetCharInsertion.java
| Rule | Violation | Line |
|---|---|---|
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 143 |
com/jsql/view/subscriber/Seal.java
| Rule | Violation | Line |
|---|---|---|
| ShortClassName | Avoid short class names like Seal | 15 |
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 | 11–644 |
| MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 57 |
| GodClass | Possible God Class (WMC=72, ATFD=102, TCC=26.449%) | 3 | 57 |
| TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 57–644 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'shouldErasePreviousInjection' | 3 | 81 |
| AvoidFieldNameMatchingMethodName | Field shouldErasePreviousInjection has the same name as a method | 3 | 81 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isScanning' | 3 | 82 |
| LawOfDemeter | Call to `getTime` on foreign value `this.mediatorStrategy` (degree 1) | 3 | 114 |
| LawOfDemeter | Call to `getBlindBin` on foreign value `this.mediatorStrategy` (degree 1) | 3 | 115 |
| LawOfDemeter | Call to `getBlindBit` on foreign value `this.mediatorStrategy` (degree 1) | 3 | 116 |
| LawOfDemeter | Call to `getMultibit` on foreign value `this.mediatorStrategy` (degree 1) | 3 | 117 |
| LawOfDemeter | Call to `getDns` on foreign value `this.mediatorStrategy` (degree 1) | 3 | 118 |
| LawOfDemeter | Call to `getError` on foreign value `this.mediatorStrategy` (degree 1) | 3 | 119 |
| LawOfDemeter | Call to `getStack` on foreign value `this.mediatorStrategy` (degree 1) | 3 | 120 |
| LawOfDemeter | Call to `getUnion` on foreign value `this.mediatorStrategy` (degree 1) | 3 | 121 |
| LawOfDemeter | Call to `getSpecificUnion` on foreign value `this.mediatorStrategy` (degree 1) | 3 | 124 |
| LawOfDemeter | Call to `getSpecificUnion` on foreign value `this.mediatorStrategy` (degree 1) | 3 | 125 |
| CyclomaticComplexity | The method 'beginInjection()' has a cyclomatic complexity of 11. | 3 | 141 |
| LawOfDemeter | Call to `getQuery` on foreign value `this.mediatorMethod` (degree 1) | 3 | 159 |
| LawOfDemeter | Call to `getRequest` on foreign value `this.mediatorMethod` (degree 1) | 3 | 162 |
| LawOfDemeter | Call to `getHeader` on foreign value `this.mediatorMethod` (degree 1) | 3 | 163 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 3 | 185 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 3 | 197 |
| UseStringBufferForStringAppends | Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings | 3 | 200 |
| UseStringBufferForStringAppends | Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings | 3 | 203 |
| MethodArgumentCouldBeFinal | Parameter 'dataInjection' is not assigned and could be declared final | 3 | 215 |
| MethodArgumentCouldBeFinal | Parameter 'isUsingIndex' is not assigned and could be declared final | 3 | 216 |
| MethodArgumentCouldBeFinal | Parameter 'metadataInjectionProcess' is not assigned and could be declared final | 3 | 217 |
| MethodArgumentCouldBeFinal | Parameter 'callableBoolean' is not assigned and could be declared final | 3 | 218 |
| MethodArgumentCouldBeFinal | Parameter 'isReport' is not assigned and could be declared final | 3 | 219 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 237 |
| UseStringBufferForStringAppends | Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings | 3 | 260 |
| UseStringBufferForStringAppends | Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings | 3 | 262 |
| UseStringBufferForStringAppends | Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings | 3 | 268 |
| UseStringBufferForStringAppends | Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings | 3 | 270 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 278 |
| LawOfDemeter | Call to `getHttpClient` on foreign value `this.getMediatorUtils().connectionUtil()` (degree 1) | 3 | 281 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 3 | 325 |
| MethodArgumentCouldBeFinal | Parameter 'isUsingIndex' is not assigned and could be declared final | 3 | 331 |
| MethodArgumentCouldBeFinal | Parameter 'urlInjection' is not assigned and could be declared final | 3 | 331 |
| MethodArgumentCouldBeFinal | Parameter 'dataInjection' is not assigned and could be declared final | 3 | 331 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 337 |
| UseStringBufferForStringAppends | Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings | 3 | 343 |
| UseStringBufferForStringAppends | Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings | 3 | 345 |
| MethodArgumentCouldBeFinal | Parameter 'isUsingIndex' is not assigned and could be declared final | 3 | 354 |
| MethodArgumentCouldBeFinal | Parameter 'dataInjection' is not assigned and could be declared final | 3 | 354 |
| MethodArgumentCouldBeFinal | Parameter 'httpRequest' is not assigned and could be declared final | 3 | 354 |
| AvoidLiteralsInIfCondition | Avoid using literals such as 2 in if statements | 3 | 366 |
| MethodArgumentCouldBeFinal | Parameter 'isUsingIndex' is not assigned and could be declared final | 3 | 383 |
| MethodArgumentCouldBeFinal | Parameter 'dataInjection' is not assigned and could be declared final | 3 | 383 |
| MethodArgumentCouldBeFinal | Parameter 'httpRequest' is not assigned and could be declared final | 3 | 383 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 388 |
| MethodArgumentCouldBeFinal | Parameter 'methodInjection' is not assigned and could be declared final | 3 | 442 |
| MethodArgumentCouldBeFinal | Parameter 'paramLead' is not assigned and could be declared final | 3 | 442 |
| MethodArgumentCouldBeFinal | Parameter 'isUsingIndex' is not assigned and could be declared final | 3 | 442 |
| MethodArgumentCouldBeFinal | Parameter 'sqlTrail' is not assigned and could be declared final | 3 | 442 |
| LawOfDemeter | Call to `getMethodInjection` on foreign value `this.mediatorUtils.connectionUtil()` (degree 1) | 3 | 450 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 3 | 450 |
| LawOfDemeter | Call to `getMethodInjection` on foreign value `this.mediatorUtils.connectionUtil()` (degree 1) | 3 | 467 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 3 | 467 |
| MethodArgumentCouldBeFinal | Parameter 'paramLead' is not assigned and could be declared final | 3 | 473 |
| MethodArgumentCouldBeFinal | Parameter 'isUsingIndex' is not assigned and could be declared final | 3 | 473 |
| MethodArgumentCouldBeFinal | Parameter 'sqlTrail' is not assigned and could be declared final | 3 | 473 |
| ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 476–490 |
| LawOfDemeter | Call to `getSpecificUnion` on foreign value `this.getMediatorStrategy()` (degree 1) | 3 | 484 |
| LawOfDemeter | Call to `getSpecificUnion` on foreign value `this.mediatorStrategy` (degree 1) | 3 | 485 |
| LawOfDemeter | Call to `getEngine` on foreign value `this.mediatorEngine` (degree 1) | 3 | 492 |
| LawOfDemeter | Call to `instance` on foreign value `this.mediatorEngine.getEngine()` (degree 2) | 3 | 492 |
| MethodArgumentCouldBeFinal | Parameter 'paramLead' is not assigned and could be declared final | 3 | 495 |
| MethodArgumentCouldBeFinal | Parameter 'isUsingIndex' is not assigned and could be declared final | 3 | 495 |
| MethodArgumentCouldBeFinal | Parameter 'sqlTrail' is not assigned and could be declared final | 3 | 495 |
| ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 501–517 |
| LawOfDemeter | Call to `getEngine` on foreign value `this.mediatorEngine` (degree 1) | 3 | 504 |
| LawOfDemeter | Call to `instance` on foreign value `this.mediatorEngine.getEngine()` (degree 2) | 3 | 504 |
| LawOfDemeter | Call to `getSpecificUnion` on foreign value `this.mediatorStrategy` (degree 1) | 3 | 511 |
| LawOfDemeter | Call to `getSpecificUnion` on foreign value `this.mediatorStrategy` (degree 1) | 3 | 512 |
| LawOfDemeter | Call to `getEngine` on foreign value `this.mediatorEngine` (degree 1) | 3 | 515 |
| LawOfDemeter | Call to `instance` on foreign value `this.mediatorEngine.getEngine()` (degree 2) | 3 | 515 |
| MethodArgumentCouldBeFinal | Parameter 'methodInjection' is not assigned and could be declared final | 3 | 525 |
| MethodArgumentCouldBeFinal | Parameter 'query' is not assigned and could be declared final | 3 | 525 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 3 | 528 |
| LawOfDemeter | Call to `getRequest` on foreign value `this.mediatorMethod` (degree 1) | 3 | 528 |
| MethodArgumentCouldBeFinal | Parameter 'methodInjection' is not assigned and could be declared final | 3 | 548 |
| MethodArgumentCouldBeFinal | Parameter 'query' is not assigned and could be declared final | 3 | 548 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 3 | 551 |
| LawOfDemeter | Call to `getQuery` on foreign value `this.mediatorMethod` (degree 1) | 3 | 551 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 3 | 573 |
| LawOfDemeter | Call to `getRequest` on foreign value `this.mediatorMethod` (degree 1) | 3 | 573 |
| MethodArgumentCouldBeFinal | Parameter 'message' is not assigned and could be declared final | 3 | 593 |
| MethodArgumentCouldBeFinal | Parameter 'source' is not assigned and could be declared final | 3 | 593 |
| MethodArgumentCouldBeFinal | Parameter 'isScanning' is not assigned and could be declared final | 3 | 605 |
| MethodArgumentCouldBeFinal | Parameter 'analysisReport' is not assigned and could be declared final | 3 | 637 |
| MethodArgumentCouldBeFinal | Parameter 'analysisReport' is not assigned and could be declared final | 3 | 641 |
| MethodArgumentCouldBeFinal | Parameter 'isInit' is not assigned and could be declared final | 3 | 641 |
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 `getMediatorEngine` 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 `getMediatorEngine` 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 `getMediatorEngine` 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 `getMediatorEngine` 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 `getMediatorEngine` 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 `getMediatorEngine` 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 `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 3 | 75 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 3 | 75 |
| LawOfDemeter | Call to `getMediatorEngine` 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 | 49 |
| MethodArgumentCouldBeFinal | Parameter 'injectionModel' is not assigned and could be declared final | 3 | 49 |
| MethodArgumentCouldBeFinal | Parameter 'metadataInjectionProcess' is not assigned and could be declared final | 3 | 49 |
| LawOfDemeter | Call to `getResourceAccess` 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 | 61 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 71 |
| LawOfDemeter | Call to `parameterUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 71 |
| AvoidLiteralsInIfCondition | Avoid using literals such as 2 in if statements | 3 | 74 |
| CloseResource | Ensure that resources like this HttpClient object are closed after use | 3 | 87 |
| LawOfDemeter | Call to `connectionUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 87 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 87 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 3 | 107 |
| AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 108 |
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 `getMediatorEngine` 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 `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 3 | 132 |
| LawOfDemeter | Call to `getMediatorEngine` 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 | 212 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 3 | 226 |
| AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 235 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 3 | 262 |
| MethodArgumentCouldBeFinal | Parameter 'table' is not assigned and could be declared final | 3 | 280 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 3 | 291 |
| AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 300 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 3 | 305 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 3 | 306 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 3 | 329 |
| MethodArgumentCouldBeFinal | Parameter 'columnsBean' is not assigned and could be declared final | 3 | 347 |
| MethodArgumentCouldBeFinal | Parameter 'database' is not assigned and could be declared final | 3 | 381 |
| MethodArgumentCouldBeFinal | Parameter 'table' is not assigned and could be declared final | 3 | 381 |
| MethodArgumentCouldBeFinal | Parameter 'rowCount' is not assigned and could be declared final | 3 | 381 |
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 4 | 381 |
| MethodArgumentCouldBeFinal | Parameter 'columns' is not assigned and could be declared final | 3 | 381 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 3 | 387 |
| AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 396 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 3 | 402 |
| MethodArgumentCouldBeFinal | Parameter 'resultToParse' is not assigned and could be declared final | 3 | 402 |
| MethodArgumentCouldBeFinal | Parameter 'columnsName' is not assigned and could be declared final | 3 | 415 |
| MethodArgumentCouldBeFinal | Parameter 'values' is not assigned and could be declared final | 3 | 415 |
com/jsql/model/accessible/ExploitMode.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'keyLabel' is not assigned and could be declared final | 3 | 16 |
| MethodArgumentCouldBeFinal | Parameter 'keyTooltip' is not assigned and could be declared final | 3 | 16 |
| MethodArgumentCouldBeFinal | Parameter 'label' is not assigned and could be declared final | 3 | 21 |
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 | 11–693 |
| CouplingBetweenObjects | A value of 24 may denote a high amount of coupling within the class (threshold: 20) | 3 | 11–693 |
| GodClass | Possible God Class (WMC=85, ATFD=43, TCC=16.559%) | 3 | 52 |
| CyclomaticComplexity | The class 'ResourceAccess' has a total cyclomatic complexity of 85 (highest 11). | 3 | 52 |
| TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 52–693 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isSearchAdminStopped' | 3 | 59 |
| AvoidFieldNameMatchingMethodName | Field isSearchAdminStopped has the same name as a method | 3 | 59 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isScanStopped' | 3 | 64 |
| AvoidFieldNameMatchingMethodName | Field isScanStopped has the same name as a method | 3 | 64 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isSearchFileStopped' | 3 | 70 |
| MethodArgumentCouldBeFinal | Parameter 'injectionModel' is not assigned and could be declared final | 3 | 119 |
| MethodArgumentCouldBeFinal | Parameter 'urlInjection' is not assigned and could be declared final | 3 | 134 |
| MethodArgumentCouldBeFinal | Parameter 'pageNames' is not assigned and could be declared final | 3 | 134 |
| CloseResource | Ensure that resources like this ExecutorService object are closed after use | 3 | 152 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 152 |
| LawOfDemeter | Call to `threadUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 152 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 3 | 160–164 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 180 |
| LawOfDemeter | Call to `threadUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 180 |
| MethodArgumentCouldBeFinal | Parameter 'taskCompletionService' is not assigned and could be declared final | 3 | 187 |
| MethodArgumentCouldBeFinal | Parameter 'nbAdminPagesFound' is not assigned and could be declared final | 3 | 187 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 3 | 199 |
| MethodArgumentCouldBeFinal | Parameter 'nbAdminPagesFound' is not assigned and could be declared final | 3 | 206 |
| MethodArgumentCouldBeFinal | Parameter 'submittedTasks' is not assigned and could be declared final | 3 | 206 |
| MethodArgumentCouldBeFinal | Parameter 'tasksHandled' is not assigned and could be declared final | 3 | 206 |
| MethodArgumentCouldBeFinal | Parameter 'urlExploit' is not assigned and could be declared final | 3 | 222 |
| MethodArgumentCouldBeFinal | Parameter 'nameExploit' is not assigned and could be declared final | 3 | 222 |
| MethodArgumentCouldBeFinal | Parameter 'biFuncGetRequest' is not assigned and could be declared final | 3 | 222 |
| LawOfDemeter | Call to `connectionUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 229 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 229 |
| AvoidLiteralsInIfCondition | Avoid using literals such as "/" in if statements | 3 | 233 |
| MethodArgumentCouldBeFinal | Parameter 'filename' is not assigned and could be declared final | 3 | 256 |
| MethodArgumentCouldBeFinal | Parameter 'directoryNames' is not assigned and could be declared final | 3 | 256 |
| MethodArgumentCouldBeFinal | Parameter 'urlProtocol' is not assigned and could be declared final | 3 | 256 |
| CloseResource | Ensure that resources like this ExecutorService object are closed after use | 3 | 257 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 257 |
| LawOfDemeter | Call to `threadUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 257 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 3 | 264–268 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 3 | 284 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 290 |
| LawOfDemeter | Call to `threadUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 290 |
| MethodArgumentCouldBeFinal | Parameter 'urlCommand' is not assigned and could be declared final | 3 | 294 |
| MethodArgumentCouldBeFinal | Parameter 'urlCommand' is not assigned and could be declared final | 3 | 298 |
| MethodArgumentCouldBeFinal | Parameter 'isConnectIssueIgnored' is not assigned and could be declared final | 3 | 298 |
| LawOfDemeter | Call to `connectionUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 301 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 301 |
| AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 302 |
| MethodArgumentCouldBeFinal | Parameter 'command' is not assigned and could be declared final | 3 | 328 |
| MethodArgumentCouldBeFinal | Parameter 'uuidShell' is not assigned and could be declared final | 3 | 328 |
| MethodArgumentCouldBeFinal | Parameter 'urlExploit' is not assigned and could be declared final | 3 | 328 |
| MethodArgumentCouldBeFinal | Parameter 'command' is not assigned and could be declared final | 3 | 331 |
| MethodArgumentCouldBeFinal | Parameter 'uuidShell' is not assigned and could be declared final | 3 | 331 |
| MethodArgumentCouldBeFinal | Parameter 'urlExploit' is not assigned and could be declared final | 3 | 331 |
| MethodArgumentCouldBeFinal | Parameter 'isConnectIssueIgnored' is not assigned and could be declared final | 3 | 331 |
| UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 3 | 351 |
| MethodArgumentCouldBeFinal | Parameter 'command' is not assigned and could be declared final | 3 | 351 |
| MethodArgumentCouldBeFinal | Parameter 'uuidShell' is not assigned and could be declared final | 3 | 351 |
| MethodArgumentCouldBeFinal | Parameter 'urlExploit' is not assigned and could be declared final | 3 | 351 |
| MethodArgumentCouldBeFinal | Parameter 'username' is not assigned and could be declared final | 3 | 351 |
| MethodArgumentCouldBeFinal | Parameter 'password' is not assigned and could be declared final | 3 | 351 |
| UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 3 | 355 |
| MethodArgumentCouldBeFinal | Parameter 'command' is not assigned and could be declared final | 3 | 355 |
| MethodArgumentCouldBeFinal | Parameter 'uuidShell' is not assigned and could be declared final | 3 | 355 |
| MethodArgumentCouldBeFinal | Parameter 'urlExploit' is not assigned and could be declared final | 3 | 355 |
| MethodArgumentCouldBeFinal | Parameter 'username' is not assigned and could be declared final | 3 | 355 |
| MethodArgumentCouldBeFinal | Parameter 'password' is not assigned and could be declared final | 3 | 355 |
| MethodArgumentCouldBeFinal | Parameter 'isResultSentToView' is not assigned and could be declared final | 3 | 355 |
| MethodArgumentCouldBeFinal | Parameter 'listRows' is not assigned and could be declared final | 3 | 380 |
| MethodArgumentCouldBeFinal | Parameter 'listFieldsLength' is not assigned and could be declared final | 3 | 380 |
| AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 3 | 383 |
| AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 3 | 385 |
| AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 3 | 387 |
| AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 3 | 396 |
| 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 |
| MethodArgumentCouldBeFinal | Parameter 'listRows' is not assigned and could be declared final | 3 | 406 |
| MethodArgumentCouldBeFinal | Parameter 'result' is not assigned and could be declared final | 3 | 422 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 3 | 428 |
| MethodArgumentCouldBeFinal | Parameter 'file' is not assigned and could be declared final | 3 | 439 |
| MethodArgumentCouldBeFinal | Parameter 'url' is not assigned and could be declared final | 3 | 439 |
| MethodArgumentCouldBeFinal | Parameter 'streamToUpload' is not assigned and could be declared final | 3 | 439 |
| PrematureDeclaration | Declaration of 'crLf' can be moved closer to its usages | 3 | 440 |
| PrematureDeclaration | Declaration of 'boundary' can be moved closer to its usages | 3 | 441 |
| UseStringBufferForStringAppends | Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings | 3 | 449 |
| UseStringBufferForStringAppends | Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings | 3 | 450 |
| UseStringBufferForStringAppends | Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings | 3 | 451 |
| UseStringBufferForStringAppends | Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings | 3 | 452 |
| LawOfDemeter | Call to `connectionUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 470 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 470 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 3 | 496 |
| AvoidLiteralsInIfCondition | Avoid using literals such as "false" in if statements | 3 | 509 |
| CyclomaticComplexity | The method 'readFile(List<String>)' has a cyclomatic complexity of 11. | 3 | 529 |
| MethodArgumentCouldBeFinal | Parameter 'pathsFiles' is not assigned and could be declared final | 3 | 529 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 3 | 531 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 3 | 531 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 3 | 531 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 534 |
| CloseResource | Ensure that resources like this ExecutorService object are closed after use | 3 | 540 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 540 |
| LawOfDemeter | Call to `threadUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 540 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 3 | 544 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 3 | 566 |
| LawOfDemeter | Call to `getSuspendableReadFile` on foreign value `callableReadFile` (degree 1) | 3 | 585 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 588 |
| LawOfDemeter | Call to `threadUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 588 |
| MethodArgumentCouldBeFinal | Parameter 'query' is not assigned and could be declared final | 3 | 607 |
| MethodArgumentCouldBeFinal | Parameter 'metadata' is not assigned and could be declared final | 3 | 607 |
| MethodArgumentCouldBeFinal | Parameter 'query' is not assigned and could be declared final | 3 | 619 |
| MethodArgumentCouldBeFinal | Parameter 'metadata' is not assigned and could be declared final | 3 | 619 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 622–629 |
| LawOfDemeter | Call to `getSuspendableReadFile` on foreign value `callable` (degree 1) | 3 | 643 |
| MethodArgumentCouldBeFinal | Parameter 'isScanStopped' is not assigned and could be declared final | 3 | 674 |
com/jsql/model/accessible/engine/ExploitDerby.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'injectionModel' is not assigned and could be declared final | 3 | 36 |
| LawOfDemeter | Call to `getMediatorEngine` 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 `propertiesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 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 | 76 |
| MethodArgumentCouldBeFinal | Parameter 'pathExploit' is not assigned and could be declared final | 3 | 79 |
| MethodArgumentCouldBeFinal | Parameter 'urlExploit' is not assigned and could be declared final | 3 | 79 |
| MethodArgumentCouldBeFinal | Parameter 'fileToUpload' is not assigned and could be declared final | 3 | 79 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 81 |
| LawOfDemeter | Call to `propertiesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 81 |
| LawOfDemeter | Call to `getFile` on foreign value `this.modelYaml` (degree 1) | 3 | 89 |
| AvoidFileStream | Avoid instantiating FileInputStream, FileOutputStream, FileReader, or FileWriter | 1 | 97 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 3 | 98 |
| LawOfDemeter | Call to `upload` on foreign value `this.injectionModel.getResourceAccess()` (degree 2) | 3 | 98 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 3 | 106 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 3 | 113 |
| MethodArgumentCouldBeFinal | Parameter 'pathFile' is not assigned and could be declared final | 3 | 116 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 3 | 120 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 3 | 126 |
com/jsql/model/accessible/engine/ExploitH2.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'injectionModel' is not assigned and could be declared final | 3 | 36 |
| LawOfDemeter | Call to `getMediatorEngine` 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 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 3 | 57 |
| MethodArgumentCouldBeFinal | Parameter 'command' is not assigned and could be declared final | 3 | 62 |
| MethodArgumentCouldBeFinal | Parameter 'uuidShell' is not assigned and could be declared final | 3 | 62 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 3 | 65 |
| LawOfDemeter | Call to `getRce` on foreign value `this.modelYaml` (degree 1) | 3 | 66 |
| MethodArgumentCouldBeFinal | Parameter 'pathExploit' is not assigned and could be declared final | 3 | 79 |
| MethodArgumentCouldBeFinal | Parameter 'urlExploit' is not assigned and could be declared final | 3 | 79 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 83 |
| LawOfDemeter | Call to `propertiesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 83 |
| LawOfDemeter | Call to `getRce` on foreign value `this.modelYaml` (degree 1) | 3 | 90 |
| LawOfDemeter | Call to `getRce` on foreign value `this.modelYaml` (degree 1) | 3 | 96 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 3 | 102 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 3 | 113 |
| MethodArgumentCouldBeFinal | Parameter 'pathExploit' is not assigned and could be declared final | 3 | 116 |
| MethodArgumentCouldBeFinal | Parameter 'urlExploit' is not assigned and could be declared final | 3 | 116 |
| MethodArgumentCouldBeFinal | Parameter 'fileToUpload' is not assigned and could be declared final | 3 | 116 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 118 |
| LawOfDemeter | Call to `propertiesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 118 |
| LawOfDemeter | Call to `getRce` on foreign value `this.modelYaml` (degree 1) | 3 | 125 |
| LawOfDemeter | Call to `getRce` on foreign value `this.modelYaml` (degree 1) | 3 | 131 |
| AvoidFileStream | Avoid instantiating FileInputStream, FileOutputStream, FileReader, or FileWriter | 1 | 137 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 3 | 138 |
| LawOfDemeter | Call to `upload` on foreign value `this.injectionModel.getResourceAccess()` (degree 2) | 3 | 138 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 3 | 146 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 3 | 153 |
| MethodArgumentCouldBeFinal | Parameter 'pathFile' is not assigned and could be declared final | 3 | 156 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 3 | 159 |
com/jsql/model/accessible/engine/ExploitHsqldb.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'injectionModel' is not assigned and could be declared final | 3 | 37 |
| LawOfDemeter | Call to `getMediatorEngine` 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 `propertiesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 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 | 76 |
| MethodArgumentCouldBeFinal | Parameter 'pathExploit' is not assigned and could be declared final | 3 | 79 |
| MethodArgumentCouldBeFinal | Parameter 'urlExploit' is not assigned and could be declared final | 3 | 79 |
| MethodArgumentCouldBeFinal | Parameter 'fileToUpload' is not assigned and could be declared final | 3 | 79 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 81 |
| LawOfDemeter | Call to `propertiesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 81 |
| LawOfDemeter | Call to `getFile` on foreign value `this.modelYaml` (degree 1) | 3 | 89 |
| AvoidFileStream | Avoid instantiating FileInputStream, FileOutputStream, FileReader, or FileWriter | 1 | 96 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 3 | 97 |
| LawOfDemeter | Call to `upload` on foreign value `this.injectionModel.getResourceAccess()` (degree 2) | 3 | 97 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 3 | 105 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 3 | 112 |
| MethodArgumentCouldBeFinal | Parameter 'pathFile' is not assigned and could be declared final | 3 | 115 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 3 | 119 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 3 | 125 |
com/jsql/model/accessible/engine/ExploitMysql.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 3 | 1–512 |
| TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 37–512 |
| MethodArgumentCouldBeFinal | Parameter 'injectionModel' is not assigned and could be declared final | 3 | 52 |
| LawOfDemeter | Call to `getMediatorEngine` 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 | 71 |
| MethodArgumentCouldBeFinal | Parameter 'pathExploit' is not assigned and could be declared final | 3 | 71 |
| MethodArgumentCouldBeFinal | Parameter 'urlExploit' is not assigned and could be declared final | 3 | 71 |
| MethodArgumentCouldBeFinal | Parameter 'pathNetshare' is not assigned and could be declared final | 3 | 71 |
| MethodArgumentCouldBeFinal | Parameter 'exploitMode' is not assigned and could be declared final | 3 | 71 |
| MethodArgumentCouldBeFinal | Parameter 'username' is not assigned and could be declared final | 3 | 71 |
| MethodArgumentCouldBeFinal | Parameter 'password' is not assigned and could be declared final | 3 | 71 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 3 | 73 |
| MethodArgumentCouldBeFinal | Parameter 'pathExploit' is not assigned and could be declared final | 3 | 95 |
| MethodArgumentCouldBeFinal | Parameter 'urlExploit' is not assigned and could be declared final | 3 | 95 |
| MethodArgumentCouldBeFinal | Parameter 'pathNetshare' is not assigned and could be declared final | 3 | 95 |
| MethodArgumentCouldBeFinal | Parameter 'exploitMode' is not assigned and could be declared final | 3 | 95 |
| MethodArgumentCouldBeFinal | Parameter 'fileToUpload' is not assigned and could be declared final | 3 | 95 |
| AvoidFileStream | Avoid instantiating FileInputStream, FileOutputStream, FileReader, or FileWriter | 1 | 97 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 3 | 98 |
| LawOfDemeter | Call to `upload` on foreign value `this.injectionModel.getResourceAccess()` (degree 2) | 3 | 98 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 3 | 106 |
| UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 3 | 119 |
| CyclomaticComplexity | The method 'create(String, String, String, String, BinaryOperator<String>, String, ExploitMode)' has a cyclomatic complexity of 10. | 3 | 119 |
| MethodArgumentCouldBeFinal | Parameter 'pathRemoteFolder' is not assigned and could be declared final | 3 | 120 |
| MethodArgumentCouldBeFinal | Parameter 'urlExploit' is not assigned and could be declared final | 3 | 121 |
| MethodArgumentCouldBeFinal | Parameter 'keyPropertyExploit' is not assigned and could be declared final | 3 | 122 |
| MethodArgumentCouldBeFinal | Parameter 'nameExploit' is not assigned and could be declared final | 3 | 123 |
| MethodArgumentCouldBeFinal | Parameter 'biFuncGetRequest' is not assigned and could be declared final | 3 | 124 |
| MethodArgumentCouldBeFinal | Parameter 'pathNetshareFolder' is not assigned and could be declared final | 3 | 125 |
| MethodArgumentCouldBeFinal | Parameter 'exploitMode' is not assigned and could be declared final | 3 | 126 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 3 | 128 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 129 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 133 |
| LawOfDemeter | Call to `propertiesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 133 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) | 3 | 148 |
| RelianceOnDefaultCharset | Specify a character set instead of relying on the default charset | 3 | 165 |
| RelianceOnDefaultCharset | Specify a character set instead of relying on the default charset | 3 | 172 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 182 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 3 | 186 |
| CyclomaticComplexity | The method 'createUdf(String, ExploitMode)' has a cyclomatic complexity of 14. | 3 | 189 |
| MethodArgumentCouldBeFinal | Parameter 'pathNetshareFolder' is not assigned and could be declared final | 3 | 189 |
| MethodArgumentCouldBeFinal | Parameter 'exploitMode' is not assigned and could be declared final | 3 | 189 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 3 | 192 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) | 3 | 196 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 3 | 197 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) | 3 | 209 |
| LinguisticNaming | Linguistics Antipattern - The variable 'isSuccess' indicates linguistically it is a boolean, but it is 'String' | 3 | 212 |
| LawOfDemeter | Call to `connectionUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 227 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 227 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 3 | 246 |
| UseLocaleWithCaseConversions | When doing a String.toLowerCase()/toUpperCase() call, use a Locale | 3 | 250 |
| UseLocaleWithCaseConversions | When doing a String.toLowerCase()/toUpperCase() call, use a Locale | 3 | 250 |
| MethodArgumentCouldBeFinal | Parameter 'nbIndexesPrefix' is not assigned and could be declared final | 3 | 261 |
| MethodArgumentCouldBeFinal | Parameter 'pathRemoteFolder' is not assigned and could be declared final | 3 | 262 |
| MethodArgumentCouldBeFinal | Parameter 'nameExploit' is not assigned and could be declared final | 3 | 263 |
| MethodArgumentCouldBeFinal | Parameter 'hexChunks' is not assigned and could be declared final | 3 | 264 |
| MethodArgumentCouldBeFinal | Parameter 'biPredConfirm' is not assigned and could be declared final | 3 | 265 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 271 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 271 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 272 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 272 |
| MethodArgumentCouldBeFinal | Parameter 'nbIndexesPrefix' is not assigned and could be declared final | 3 | 311 |
| MethodArgumentCouldBeFinal | Parameter 'pathNetshareFolder' is not assigned and could be declared final | 3 | 312 |
| MethodArgumentCouldBeFinal | Parameter 'nameExploit' is not assigned and could be declared final | 3 | 313 |
| MethodArgumentCouldBeFinal | Parameter 'pathRemoteFolder' is not assigned and could be declared final | 3 | 314 |
| MethodArgumentCouldBeFinal | Parameter 'biPredConfirm' is not assigned and could be declared final | 3 | 315 |
| MethodArgumentCouldBeFinal | Parameter 'bodyHexChunks' is not assigned and could be declared final | 3 | 348 |
| MethodArgumentCouldBeFinal | Parameter 'pathRemoteFile' is not assigned and could be declared final | 3 | 348 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 3 | 350 |
| MethodArgumentCouldBeFinal | Parameter 'nameDatabase' is not assigned and could be declared final | 3 | 396 |
| MethodArgumentCouldBeFinal | Parameter 'nameTableRandom' is not assigned and could be declared final | 3 | 396 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 398–402 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 3 | 398 |
| MethodArgumentCouldBeFinal | Parameter 'nameLibrary' is not assigned and could be declared final | 3 | 408 |
| 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 | 417 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 3 | 422 |
| MethodArgumentCouldBeFinal | Parameter 'path' is not assigned and could be declared final | 3 | 427 |
| MethodArgumentCouldBeFinal | Parameter 'command' is not assigned and could be declared final | 3 | 442 |
| MethodArgumentCouldBeFinal | Parameter 'uuidShell' is not assigned and could be declared final | 3 | 442 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 3 | 445 |
| MethodArgumentCouldBeFinal | Parameter 'pathFile' is not assigned and could be declared final | 3 | 456 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 3 | 459 |
| MethodArgumentCouldBeFinal | Parameter 'filename' is not assigned and could be declared final | 3 | 471 |
| MethodArgumentCouldBeFinal | Parameter 'pathNetshare' is not assigned and could be declared final | 3 | 480 |
| MethodArgumentCouldBeFinal | Parameter 'nameLibrary' is not assigned and could be declared final | 3 | 480 |
| AvoidFileStream | Avoid instantiating FileInputStream, FileOutputStream, FileReader, or FileWriter | 1 | 484 |
| MethodArgumentCouldBeFinal | Parameter 'pathFile' is not assigned and could be declared final | 3 | 492 |
| MethodArgumentCouldBeFinal | Parameter 'bodyExploit' is not assigned and could be declared final | 3 | 492 |
| RelianceOnDefaultCharset | Specify a character set instead of relying on the default charset | 3 | 495 |
| MethodArgumentCouldBeFinal | Parameter 'nameLibrary' is not assigned and could be declared final | 3 | 501 |
| UseProperClassLoader | In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. | 3 | 503 |
com/jsql/model/accessible/engine/ExploitOracle.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'injectionModel' is not assigned and could be declared final | 3 | 28 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `injectionModel` (degree 1) | 3 | 32 |
| MethodArgumentCouldBeFinal | Parameter 'exploitMode' is not assigned and could be declared final | 3 | 37 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 3 | 61 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 3 | 73 |
| MethodArgumentCouldBeFinal | Parameter 'command' is not assigned and could be declared final | 3 | 77 |
| MethodArgumentCouldBeFinal | Parameter 'uuidShell' is not assigned and could be declared final | 3 | 77 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 3 | 80 |
com/jsql/model/accessible/engine/ExploitPostgres.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 3 | 1–584 |
| TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 35–584 |
| MethodArgumentCouldBeFinal | Parameter 'injectionModel' is not assigned and could be declared final | 3 | 42 |
| LawOfDemeter | Call to `getMediatorEngine` 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 |
| LawOfDemeter | Call to `getResourceAccess` 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 | 103 |
| LinguisticNaming | Linguistics Antipattern - The setter 'setRceExtensionWhenActive' should not return any type except void linguistically | 3 | 108 |
| CognitiveComplexity | The method 'setRceExtensionWhenActive(boolean, String)' has a cognitive complexity of 15, current threshold is 15 | 3 | 108 |
| CyclomaticComplexity | The method 'setRceExtensionWhenActive(boolean, String)' has a cyclomatic complexity of 10. | 3 | 108 |
| MethodArgumentCouldBeFinal | Parameter 'isUdfActive' is not assigned and could be declared final | 3 | 108 |
| MethodArgumentCouldBeFinal | Parameter 'nameExtension' is not assigned and could be declared final | 3 | 108 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 110 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 125 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 3 | 139 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 144 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 3 | 148 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 154 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 3 | 159 |
| LinguisticNaming | Linguistics Antipattern - The setter 'setRceLibraryWhenActive' should not return any type except void linguistically | 3 | 164 |
| MethodArgumentCouldBeFinal | Parameter 'isUdfActive' is not assigned and could be declared final | 3 | 164 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 166 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 3 | 171 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 177 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 3 | 180 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 3 | 189 |
| AvoidDuplicateLiterals | The String literal "%20" appears 10 times in this file; the first occurrence is on line 191 | 3 | 191 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 195 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 3 | 199 |
| MethodArgumentCouldBeFinal | Parameter 'isUdfActive' is not assigned and could be declared final | 3 | 204 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 3 | 213 |
| MethodArgumentCouldBeFinal | Parameter 'filename' is not assigned and could be declared final | 3 | 218 |
| UseProperClassLoader | In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. | 3 | 221 |
| MethodArgumentCouldBeFinal | Parameter 'command' is not assigned and could be declared final | 3 | 229 |
| MethodArgumentCouldBeFinal | Parameter 'uuidShell' is not assigned and could be declared final | 3 | 229 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 3 | 232 |
| MethodArgumentCouldBeFinal | Parameter 'command' is not assigned and could be declared final | 3 | 246 |
| PrematureDeclaration | Declaration of 'pathResult' can be moved closer to its usages | 3 | 248 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 3 | 250 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 253 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 3 | 256 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 3 | 257 |
| 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 | 266 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 3 | 274 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 3 | 279 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 3 | 281 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 284 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 3 | 287 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 3 | 289 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 3 | 292 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 3 | 294 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 3 | 298 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 305 |
| MethodArgumentCouldBeFinal | Parameter 'nameExtension' is not assigned and could be declared final | 3 | 310 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 3 | 316 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 322 |
| MethodArgumentCouldBeFinal | Parameter 'command' is not assigned and could be declared final | 3 | 328 |
| MethodArgumentCouldBeFinal | Parameter 'uuidShell' is not assigned and could be declared final | 3 | 328 |
| MethodArgumentCouldBeFinal | Parameter 'command' is not assigned and could be declared final | 3 | 342 |
| MethodArgumentCouldBeFinal | Parameter 'uuidShell' is not assigned and could be declared final | 3 | 342 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 3 | 355 |
| MethodArgumentCouldBeFinal | Parameter 'command' is not assigned and could be declared final | 3 | 369 |
| MethodArgumentCouldBeFinal | Parameter 'uuidShell' is not assigned and could be declared final | 3 | 369 |
| AvoidLiteralsInIfCondition | Avoid using literals such as "sql" in if statements | 3 | 372 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 3 | 379 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 3 | 384 |
| MethodArgumentCouldBeFinal | Parameter 'pathExploit' is not assigned and could be declared final | 3 | 403 |
| MethodArgumentCouldBeFinal | Parameter 'urlExploit' is not assigned and could be declared final | 3 | 403 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 405 |
| LawOfDemeter | Call to `propertiesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 405 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 3 | 410 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 416 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 3 | 419 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 3 | 426 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 3 | 437 |
| UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 3 | 440 |
| MethodArgumentCouldBeFinal | Parameter 'pathExploit' is not assigned and could be declared final | 3 | 440 |
| MethodArgumentCouldBeFinal | Parameter 'urlExploit' is not assigned and could be declared final | 3 | 440 |
| MethodArgumentCouldBeFinal | Parameter 'username' is not assigned and could be declared final | 3 | 440 |
| MethodArgumentCouldBeFinal | Parameter 'password' is not assigned and could be declared final | 3 | 440 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 3 | 442 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 458 |
| LawOfDemeter | Call to `propertiesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 458 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 3 | 463 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 469 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 3 | 472 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 3 | 478 |
| MethodArgumentCouldBeFinal | Parameter 'pathExploit' is not assigned and could be declared final | 3 | 481 |
| MethodArgumentCouldBeFinal | Parameter 'urlExploit' is not assigned and could be declared final | 3 | 481 |
| MethodArgumentCouldBeFinal | Parameter 'fileToUpload' is not assigned and could be declared final | 3 | 481 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 483 |
| LawOfDemeter | Call to `propertiesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 483 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 3 | 488 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 3 | 497 |
| AvoidFileStream | Avoid instantiating FileInputStream, FileOutputStream, FileReader, or FileWriter | 1 | 504 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 3 | 505 |
| LawOfDemeter | Call to `upload` on foreign value `this.injectionModel.getResourceAccess()` (degree 2) | 3 | 505 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 3 | 513 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 3 | 520 |
| MethodArgumentCouldBeFinal | Parameter 'pathFile' is not assigned and could be declared final | 3 | 523 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 3 | 528 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 3 | 539 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 3 | 540 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 3 | 544 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 3 | 545 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 3 | 553 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 3 | 557 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 3 | 561 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 3 | 567 |
com/jsql/model/accessible/engine/ExploitSqlite.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'injectionModel' is not assigned and could be declared final | 3 | 36 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `injectionModel` (degree 1) | 3 | 40 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 3 | 47 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 3 | 54 |
| MethodArgumentCouldBeFinal | Parameter 'command' is not assigned and could be declared final | 3 | 59 |
| MethodArgumentCouldBeFinal | Parameter 'uuidShell' is not assigned and could be declared final | 3 | 59 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 3 | 62 |
| MethodArgumentCouldBeFinal | Parameter 'pathExploit' is not assigned and could be declared final | 3 | 76 |
| MethodArgumentCouldBeFinal | Parameter 'urlExploit' is not assigned and could be declared final | 3 | 76 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 80 |
| LawOfDemeter | Call to `propertiesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 80 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 3 | 95 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 3 | 106 |
| MethodArgumentCouldBeFinal | Parameter 'pathExploit' is not assigned and could be declared final | 3 | 109 |
| MethodArgumentCouldBeFinal | Parameter 'urlExploit' is not assigned and could be declared final | 3 | 109 |
| MethodArgumentCouldBeFinal | Parameter 'fileToUpload' is not assigned and could be declared final | 3 | 109 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 111 |
| LawOfDemeter | Call to `propertiesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 111 |
| AvoidFileStream | Avoid instantiating FileInputStream, FileOutputStream, FileReader, or FileWriter | 1 | 126 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 3 | 127 |
| LawOfDemeter | Call to `upload` on foreign value `this.injectionModel.getResourceAccess()` (degree 2) | 3 | 127 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 3 | 135 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 3 | 142 |
| MethodArgumentCouldBeFinal | Parameter 'pathFile' is not assigned and could be declared final | 3 | 145 |
| LawOfDemeter | Call to `getResourceAccess` on foreign value `this.injectionModel` (degree 1) | 3 | 149 |
com/jsql/model/accessible/engine/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/engine/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/engine/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/engine/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/engine/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/engine/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/engine/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/engine/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/engine/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/engine/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/engine/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/engine/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/engine/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/engine/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/engine/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/engine/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/engine/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/engine/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/engine/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/engine/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/engine/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/engine/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/engine/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/engine/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/engine/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/engine/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/engine/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/engine/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/engine/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/engine/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/engine/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 | 31 |
| MethodArgumentCouldBeFinal | Parameter 'tableCount' is not assigned and could be declared final | 3 | 31 |
| AvoidLiteralsInIfCondition | Avoid using literals such as 1 in if statements | 3 | 58 |
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/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/engine/MediatorEngine.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| DataClass | The class 'MediatorEngine' is suspected to be a Data Class (WOC=5.714%, NOPA=0, NOAM=33, WMC=40) | 3 | 22 |
| MethodArgumentCouldBeFinal | Parameter 'injectionModel' is not assigned and could be declared final | 3 | 73 |
| MethodArgumentCouldBeFinal | Parameter 'resultToParse' is not assigned and could be declared final | 3 | 108 |
| ConsecutiveLiteralAppends | StringBuffer (or StringBuilder).append is called 4 consecutive times with literals. Use a single append with a single combined String. | 3 | 130 |
| AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 3 | 130 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: MediatorEngine.setEngine(Engine) | 1 | 153 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 3 | 158 |
| ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 163–196 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 3 | 163 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 3 | 163 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 3 | 163 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 3 | 164 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 3 | 169 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 3 | 176 |
| LawOfDemeter | Call to `filter` on foreign value `mediatorEngine.getEngines().stream()` (degree 2) | 3 | 177–179 |
| LawOfDemeter | Call to `getEngines` on foreign value `mediatorEngine` (degree 2) | 3 | 177 |
| LawOfDemeter | Call to `stream` on foreign value `mediatorEngine.getEngines()` (degree 2) | 3 | 177–178 |
| LawOfDemeter | Call to `toArray` on foreign value `mediatorEngine.getEngines().stream().filter(v -> v != mediatorEngine.getAuto())` (degree 2) | 3 | 177–180 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 3 | 179 |
| LawOfDemeter | Call to `instance` on foreign value `engineTest` (degree 2) | 3 | 184 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 198 |
| LawOfDemeter | Call to `propertiesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 198 |
| LawOfDemeter | Call to `getPropertiesUtil` on foreign value `this.injectionModel` (degree 1) | 3 | 204 |
| MethodArgumentCouldBeFinal | Parameter 'engine' is not assigned and could be declared final | 3 | 216 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 3 | 219 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 3 | 224 |
| MethodArgumentCouldBeFinal | Parameter 'engine' is not assigned and could be declared final | 3 | 245 |
| MethodArgumentCouldBeFinal | Parameter 'engineByUser' is not assigned and could be declared final | 3 | 253 |
com/jsql/model/injection/engine/model/AbstractEngine.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 11–50 |
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 4 | 30 |
com/jsql/model/injection/engine/model/Engine.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'instanceEngine' is not assigned and could be declared final | 3 | 9 |
| LawOfDemeter | Call to `getModelYaml` on foreign value `instanceEngine` (degree 1) | 3 | 10 |
| MethodArgumentCouldBeFinal | Parameter 'resultToParse' is not assigned and could be declared final | 3 | 18 |
com/jsql/model/injection/engine/model/EngineYaml.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 28–614 |
| 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 `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 119 |
| LawOfDemeter | Call to `getMediatorEngine` 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 `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 129 |
| LawOfDemeter | Call to `getMediatorEngine` 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 `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 147 |
| LawOfDemeter | Call to `getMediatorEngine` 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 `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 157 |
| LawOfDemeter | Call to `getMediatorEngine` 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 `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 179 |
| LawOfDemeter | Call to `getMediatorEngine` 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 `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 189 |
| LawOfDemeter | Call to `getMediatorEngine` 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 `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 217 |
| LawOfDemeter | Call to `getMediatorEngine` 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 `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 229 |
| LawOfDemeter | Call to `getMediatorEngine` 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 `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 323 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 324 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 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 `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 336 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 337 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 337 |
| MethodArgumentCouldBeFinal | Parameter 'blindOperator' is not assigned and could be declared final | 3 | 353 |
| MethodArgumentCouldBeFinal | Parameter 'sqlQuery' is not assigned and could be declared final | 3 | 363 |
| MethodArgumentCouldBeFinal | Parameter 'startPosition' is not assigned and could be declared final | 3 | 363 |
| MethodArgumentCouldBeFinal | Parameter 'isReport' is not assigned and could be declared final | 3 | 363 |
| MethodArgumentCouldBeFinal | Parameter 'sqlQuery' is not assigned and could be declared final | 3 | 373 |
| MethodArgumentCouldBeFinal | Parameter 'startPosition' is not assigned and could be declared final | 3 | 373 |
| MethodArgumentCouldBeFinal | Parameter 'isReport' is not assigned and could be declared final | 3 | 373 |
| MethodArgumentCouldBeFinal | Parameter 'inj' is not assigned and could be declared final | 3 | 383 |
| MethodArgumentCouldBeFinal | Parameter 'indexChar' is not assigned and could be declared final | 3 | 383 |
| MethodArgumentCouldBeFinal | Parameter 'block' is not assigned and could be declared final | 3 | 383 |
| MethodArgumentCouldBeFinal | Parameter 'errorMethod' is not assigned and could be declared final | 3 | 391 |
| MethodArgumentCouldBeFinal | Parameter 'errorMethod' is not assigned and could be declared final | 3 | 402 |
| MethodArgumentCouldBeFinal | Parameter 'sqlQuery' is not assigned and could be declared final | 3 | 414 |
| MethodArgumentCouldBeFinal | Parameter 'startPosition' is not assigned and could be declared final | 3 | 414 |
| MethodArgumentCouldBeFinal | Parameter 'indexMethodError' is not assigned and could be declared final | 3 | 414 |
| MethodArgumentCouldBeFinal | Parameter 'isReport' is not assigned and could be declared final | 3 | 414 |
| MethodArgumentCouldBeFinal | Parameter 'sqlQuery' is not assigned and could be declared final | 3 | 433 |
| MethodArgumentCouldBeFinal | Parameter 'startPosition' is not assigned and could be declared final | 3 | 433 |
| MethodArgumentCouldBeFinal | Parameter 'isReport' is not assigned and could be declared final | 3 | 433 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) | 3 | 438 |
| MethodArgumentCouldBeFinal | Parameter 'sqlQuery' is not assigned and could be declared final | 3 | 443 |
| MethodArgumentCouldBeFinal | Parameter 'startPosition' is not assigned and could be declared final | 3 | 443 |
| MethodArgumentCouldBeFinal | Parameter 'blindOperator' is not assigned and could be declared final | 3 | 443 |
| MethodArgumentCouldBeFinal | Parameter 'isReport' is not assigned and could be declared final | 3 | 443 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 450 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 450 |
| MethodArgumentCouldBeFinal | Parameter 'sqlQuery' is not assigned and could be declared final | 3 | 460 |
| MethodArgumentCouldBeFinal | Parameter 'startPosition' is not assigned and could be declared final | 3 | 460 |
| MethodArgumentCouldBeFinal | Parameter 'isReport' is not assigned and could be declared final | 3 | 460 |
| MethodArgumentCouldBeFinal | Parameter 'indexes' is not assigned and could be declared final | 3 | 473 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) | 3 | 476 |
| MethodArgumentCouldBeFinal | Parameter 'nbFields' is not assigned and could be declared final | 3 | 487 |
| MethodArgumentCouldBeFinal | Parameter 'limitSqlResult' is not assigned and could be declared final | 3 | 511 |
| MethodArgumentCouldBeFinal | Parameter 'sqlRequest' is not assigned and could be declared final | 3 | 535 |
| MethodArgumentCouldBeFinal | Parameter 'isReport' is not assigned and could be declared final | 3 | 556 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 602 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 602 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 603 |
com/jsql/model/injection/engine/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/engine/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/engine/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/engine/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/engine/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 'engineSpecific' is not assigned and could be declared final | 3 | 46 |
com/jsql/model/injection/engine/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/engine/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 'engine' 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/engine/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/engine/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/engine/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/engine/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/engine/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/engine/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/engine/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/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 `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 59 |
| LawOfDemeter | Call to `connectionUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 60 |
| 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 `connectionUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 66 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 66 |
| LawOfDemeter | Call to `connectionUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 71 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 71 |
| ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 74–78 |
| 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 `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 143 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 144 |
| LawOfDemeter | Call to `jsonUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 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 `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 22 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 26 |
| LawOfDemeter | Call to `parameterUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 26 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 30 |
| LawOfDemeter | Call to `parameterUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 30 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 41 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 41 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 45 |
| LawOfDemeter | Call to `parameterUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 45 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 49 |
| LawOfDemeter | Call to `parameterUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 49 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 60 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 60 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 64 |
| LawOfDemeter | Call to `parameterUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 64 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 68 |
| LawOfDemeter | Call to `parameterUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 68 |
com/jsql/model/injection/strategy/AbstractStrategy.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isApplicable' | 3 | 28 |
| AvoidFieldNameMatchingMethodName | Field isApplicable has the same name as a method | 3 | 28 |
| MethodArgumentCouldBeFinal | Parameter 'injectionModel' is not assigned and could be declared final | 3 | 32 |
| MethodArgumentCouldBeFinal | Parameter 'isApplicable' is not assigned and could be declared final | 3 | 94 |
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 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 3 | 36 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 41 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 41 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 42 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 42 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 3 | 50 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 3 | 53 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 3 | 63 |
| UseUnderscoresInNumericLiterals | Number 86400 should separate every third digit with an underscore | 3 | 72 |
| AvoidUsingHardCodedIP | Do not hard code the IP address ${variableName} | 3 | 73 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 3 | 80–85 |
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 | 20 |
| MethodArgumentCouldBeFinal | Parameter 'injectionModel' is not assigned and could be declared final | 3 | 42 |
| UseLocaleWithCaseConversions | When doing a String.toLowerCase()/toUpperCase() call, use a Locale | 3 | 58 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 60 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 60 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 62 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 62 |
| MethodArgumentCouldBeFinal | Parameter 'urlBase' is not assigned and could be declared final | 3 | 77 |
| MethodArgumentCouldBeFinal | Parameter 'isUsingIndex' is not assigned and could be declared final | 3 | 77 |
| MethodArgumentCouldBeFinal | Parameter 'sqlTrail' is not assigned and could be declared final | 3 | 77 |
| ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 80–92 |
| MethodArgumentCouldBeFinal | Parameter 'sqlTrail' is not assigned and could be declared final | 3 | 97 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 100 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 100 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 3 | 118 |
| MethodArgumentCouldBeFinal | Parameter 'parameterToInject' is not assigned and could be declared final | 3 | 132 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 3 | 138 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 3 | 138 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 150 |
| LawOfDemeter | Call to `parameterUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 150 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 152 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 152 |
| LawOfDemeter | Call to `connectionUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 162 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 162 |
| LawOfDemeter | Call to `connectionUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 166 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 166 |
| LawOfDemeter | Call to `connectionUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 167 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 167 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 3 | 173 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 3 | 173 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 3 | 173 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) | 3 | 208 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 216 |
| MethodArgumentCouldBeFinal | Parameter 'strategy' is not assigned and could be declared final | 3 | 269 |
com/jsql/model/injection/strategy/StrategyBlindBin.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'injectionModel' is not assigned and could be declared final | 3 | 33 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 39 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 39 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 41 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 3 | 43 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 3 | 49 |
| MethodArgumentCouldBeFinal | Parameter 'blindOperator' is not assigned and could be declared final | 3 | 67 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 3 | 96 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 3 | 97 |
| MethodArgumentCouldBeFinal | Parameter 'sqlQuery' is not assigned and could be declared final | 3 | 113 |
| MethodArgumentCouldBeFinal | Parameter 'startPosition' is not assigned and could be declared final | 3 | 113 |
| MethodArgumentCouldBeFinal | Parameter 'stoppable' is not assigned and could be declared final | 3 | 113 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 3 | 115 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) | 3 | 122 |
| LawOfDemeter | Call to `getBlindOperator` on foreign value `this.injection` (degree 1) | 3 | 128 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) | 3 | 130 |
com/jsql/model/injection/strategy/StrategyBlindBit.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'injectionModel' is not assigned and could be declared final | 3 | 33 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 39 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 39 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 41 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 3 | 43 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 3 | 49 |
| MethodArgumentCouldBeFinal | Parameter 'blindOperator' is not assigned and could be declared final | 3 | 67 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 3 | 96 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 3 | 97 |
| MethodArgumentCouldBeFinal | Parameter 'sqlQuery' is not assigned and could be declared final | 3 | 113 |
| MethodArgumentCouldBeFinal | Parameter 'startPosition' is not assigned and could be declared final | 3 | 113 |
| MethodArgumentCouldBeFinal | Parameter 'stoppable' is not assigned and could be declared final | 3 | 113 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 3 | 115 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) | 3 | 122 |
| LawOfDemeter | Call to `getBlindOperator` on foreign value `this.injection` (degree 1) | 3 | 128 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) | 3 | 130 |
com/jsql/model/injection/strategy/StrategyDns.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 | 41 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 41 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 43 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 45 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 45 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 46 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 46 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 51 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 51 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 52 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 52 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 54 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 3 | 56 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 3 | 62 |
| MethodArgumentCouldBeFinal | Parameter 'blindOperator' is not assigned and could be declared final | 3 | 79 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 3 | 91 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 3 | 94 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 3 | 101 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 105 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 105 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 3 | 128 |
| MethodArgumentCouldBeFinal | Parameter 'sqlQuery' is not assigned and could be declared final | 3 | 147 |
| MethodArgumentCouldBeFinal | Parameter 'startPosition' is not assigned and could be declared final | 3 | 147 |
| MethodArgumentCouldBeFinal | Parameter 'metadataInjectionProcess' is not assigned and could be declared final | 3 | 147 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 3 | 148 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 3 | 149 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 160 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 160 |
| MethodArgumentCouldBeFinal | Parameter 'maxTime' is not assigned and could be declared final | 3 | 172 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 3 | 177 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 3 | 181 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) | 3 | 191 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) | 3 | 199 |
com/jsql/model/injection/strategy/StrategyError.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| RedundantFieldInitializer | Avoid using redundant field initializer for 'indexErrorStrategy' | 3 | 24 |
| MethodArgumentCouldBeFinal | Parameter 'injectionModel' is not assigned and could be declared final | 3 | 26 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 3 | 35 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 37 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 37 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 39 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 3 | 45 |
| MethodArgumentCouldBeFinal | Parameter 'errorMethod' is not assigned and could be declared final | 3 | 82 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 3 | 86 |
| MethodArgumentCouldBeFinal | Parameter 'errorMethod' is not assigned and could be declared final | 3 | 99 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 3 | 101 |
| MethodArgumentCouldBeFinal | Parameter 'indexErrorMethod' is not assigned and could be declared final | 3 | 107 |
| MethodArgumentCouldBeFinal | Parameter 'errorCapacityDefault' is not assigned and could be declared final | 3 | 107 |
| MethodArgumentCouldBeFinal | Parameter 'errorMethod' is not assigned and could be declared final | 3 | 107 |
| MethodArgumentCouldBeFinal | Parameter 'regexSearch' is not assigned and could be declared final | 3 | 107 |
| UnusedAssignment | The value assigned to field 'indexErrorStrategy' is never used (reassigned every iteration) | 3 | 113 |
| MethodArgumentCouldBeFinal | Parameter 'indexError' is not assigned and could be declared final | 3 | 132 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 3 | 136 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 3 | 145 |
| MethodArgumentCouldBeFinal | Parameter 'indexError' is not assigned and could be declared final | 3 | 158 |
| MethodArgumentCouldBeFinal | Parameter 'sqlQuery' is not assigned and could be declared final | 3 | 163 |
| MethodArgumentCouldBeFinal | Parameter 'startPosition' is not assigned and could be declared final | 3 | 163 |
| MethodArgumentCouldBeFinal | Parameter 'metadataInjectionProcess' is not assigned and could be declared final | 3 | 163 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 3 | 165 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) | 3 | 172 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 3 | 178 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) | 3 | 181 |
| MethodArgumentCouldBeFinal | Parameter 'indexErrorStrategy' is not assigned and could be declared final | 3 | 200 |
com/jsql/model/injection/strategy/StrategyMultibit.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'injectionModel' is not assigned and could be declared final | 3 | 33 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 39 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 39 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 41 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 3 | 43 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 3 | 49 |
| MethodArgumentCouldBeFinal | Parameter 'blindOperator' is not assigned and could be declared final | 3 | 64 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 3 | 85 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 3 | 86 |
| MethodArgumentCouldBeFinal | Parameter 'sqlQuery' is not assigned and could be declared final | 3 | 107 |
| MethodArgumentCouldBeFinal | Parameter 'startPosition' is not assigned and could be declared final | 3 | 107 |
| MethodArgumentCouldBeFinal | Parameter 'stoppable' is not assigned and could be declared final | 3 | 107 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 3 | 109 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) | 3 | 116 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) | 3 | 123 |
com/jsql/model/injection/strategy/StrategyStack.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'injectionModel' is not assigned and could be declared final | 3 | 24 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 30 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 30 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 3 | 37 |
| ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 45–55 |
| MethodArgumentCouldBeFinal | Parameter 'configurationYaml' is not assigned and could be declared final | 3 | 71 |
| MethodArgumentCouldBeFinal | Parameter 'stack' is not assigned and could be declared final | 3 | 71 |
| MethodArgumentCouldBeFinal | Parameter 'configurationYaml' is not assigned and could be declared final | 3 | 92 |
| MethodArgumentCouldBeFinal | Parameter 'stack' is not assigned and could be declared final | 3 | 92 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 3 | 111 |
| MethodArgumentCouldBeFinal | Parameter 'sqlQuery' is not assigned and could be declared final | 3 | 124 |
| MethodArgumentCouldBeFinal | Parameter 'startPosition' is not assigned and could be declared final | 3 | 124 |
| MethodArgumentCouldBeFinal | Parameter 'metadataInjectionProcess' is not assigned and could be declared final | 3 | 124 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 3 | 126 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) | 3 | 133 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) | 3 | 140 |
com/jsql/model/injection/strategy/StrategyTime.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'injectionModel' is not assigned and could be declared final | 3 | 33 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 39 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 39 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 41 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 3 | 43 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 3 | 49 |
| MethodArgumentCouldBeFinal | Parameter 'blindOperator' is not assigned and could be declared final | 3 | 67 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 3 | 96 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 3 | 97 |
| MethodArgumentCouldBeFinal | Parameter 'sqlQuery' is not assigned and could be declared final | 3 | 113 |
| MethodArgumentCouldBeFinal | Parameter 'startPosition' is not assigned and could be declared final | 3 | 113 |
| MethodArgumentCouldBeFinal | Parameter 'stoppable' is not assigned and could be declared final | 3 | 113 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 3 | 115 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) | 3 | 122 |
| LawOfDemeter | Call to `getBlindOperator` on foreign value `this.injection` (degree 1) | 3 | 128 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) | 3 | 130 |
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 `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 40 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) | 3 | 54 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 3 | 77 |
| MethodArgumentCouldBeFinal | Parameter 'sqlQuery' is not assigned and could be declared final | 3 | 90 |
| MethodArgumentCouldBeFinal | Parameter 'startPosition' is not assigned and could be declared final | 3 | 90 |
| MethodArgumentCouldBeFinal | Parameter 'metadataInjectionProcess' is not assigned and could be declared final | 3 | 90 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 3 | 92 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) | 3 | 99 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) | 3 | 106 |
| MethodArgumentCouldBeFinal | Parameter 'firstSuccessPageSource' is not assigned and could be declared final | 3 | 118 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 3 | 133 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 146 |
| MethodArgumentCouldBeFinal | Parameter 'visibleIndex' is not assigned and could be declared final | 3 | 200 |
| MethodArgumentCouldBeFinal | Parameter 'sourceIndexesFound' is not assigned and could be declared final | 3 | 204 |
| MethodArgumentCouldBeFinal | Parameter 'nbIndexesFound' is not assigned and could be declared final | 3 | 212 |
| MethodArgumentCouldBeFinal | Parameter 'indexesInUrl' 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 | 33 |
| MethodArgumentCouldBeFinal | Parameter 'blindOperator' is not assigned and could be declared final | 3 | 33 |
| CyclomaticComplexity | The method 'inject(String, AbstractSuspendable)' has a cyclomatic complexity of 10. | 3 | 67 |
| MethodArgumentCouldBeFinal | Parameter 'sqlQuery' is not assigned and could be declared final | 3 | 67 |
| MethodArgumentCouldBeFinal | Parameter 'suspendable' is not assigned and could be declared final | 3 | 67 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 74 |
| LawOfDemeter | Call to `threadUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 74 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 3 | 108 |
| MethodArgumentCouldBeFinal | Parameter 'bytes' is not assigned and could be declared final | 3 | 119 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 3 | 123 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 126–128 |
| MethodArgumentCouldBeFinal | Parameter 'bytes' is not assigned and could be declared final | 3 | 134 |
| MethodArgumentCouldBeFinal | Parameter 'countBadAsciiCode' is not assigned and could be declared final | 3 | 135 |
| MethodArgumentCouldBeFinal | Parameter 'currentCallable' is not assigned and could be declared final | 3 | 136 |
| AvoidDeeplyNestedIfStmts | Deeply nested if..then statements are hard to read | 3 | 148–150 |
| AvoidLiteralsInIfCondition | Avoid using literals such as 15 in if statements | 3 | 148 |
| MethodArgumentCouldBeFinal | Parameter 'bytes' is not assigned and could be declared final | 3 | 169 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 3 | 169 |
| MethodArgumentCouldBeFinal | Parameter 'taskExecutor' is not assigned and could be declared final | 3 | 169 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 170 |
| LawOfDemeter | Call to `threadUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 170 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 3 | 177 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 180–183 |
| MethodArgumentCouldBeFinal | Parameter 'urlString' is not assigned and could be declared final | 3 | 193 |
| MethodArgumentCouldBeFinal | Parameter 'metadataInjectionProcess' is not assigned and could be declared final | 3 | 193 |
| 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 'callableBoolean' is not assigned and could be declared final | 3 | 197 |
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 | 33 |
| CyclomaticComplexity | The constructor 'InjectionBlindBin(InjectionModel, BlindOperator)' has a cyclomatic complexity of 10. | 3 | 49 |
| MethodArgumentCouldBeFinal | Parameter 'injectionModel' is not assigned and could be declared final | 3 | 49 |
| MethodArgumentCouldBeFinal | Parameter 'blindOperator' is not assigned and could be declared final | 3 | 49 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 3 | 52 |
| 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 | 58 |
| UseLocaleWithCaseConversions | When doing a String.toLowerCase()/toUpperCase() call, use a Locale | 3 | 58 |
| CloseResource | Ensure that resources like this ExecutorService object are closed after use | 3 | 62 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 62 |
| LawOfDemeter | Call to `threadUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 62 |
| LawOfDemeter | Call to `invokeAll` on foreign value `taskExecutor` (degree 2) | 3 | 79 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 3 | 79 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 80 |
| LawOfDemeter | Call to `threadUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 80 |
| LawOfDemeter | Call to `getDiffsWithReference` on foreign value `futureFalsy.get()` (degree 2) | 3 | 86 |
| LawOfDemeter | Call to `get` on foreign value `futureFalsy` (degree 2) | 3 | 86 |
| LawOfDemeter | Call to `get` on foreign value `futureFalsy` (degree 2) | 3 | 88 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 3 | 95 |
| MethodArgumentCouldBeFinal | Parameter 'injectionModel' is not assigned and could be declared final | 3 | 105 |
| MethodArgumentCouldBeFinal | Parameter 'blindOperator' is not assigned and could be declared final | 3 | 105 |
| CloseResource | Ensure that resources like this ExecutorService object are closed after use | 3 | 106 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 106 |
| LawOfDemeter | Call to `threadUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 106 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 3 | 108 |
| LawOfDemeter | Call to `invokeAll` on foreign value `taskExecutor` (degree 2) | 3 | 122 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 3 | 122 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 123 |
| LawOfDemeter | Call to `threadUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 123 |
| LawOfDemeter | Call to `getDiffsWithReference` on foreign value `futureTruthy.get()` (degree 2) | 3 | 129 |
| LawOfDemeter | Call to `get` on foreign value `futureTruthy` (degree 2) | 3 | 129 |
| LawOfDemeter | Call to `get` on foreign value `futureTruthy` (degree 2) | 3 | 131 |
| LawOfDemeter | Call to `get` on foreign value `futureTruthy` (degree 2) | 3 | 133 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 3 | 139 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 3 | 154 |
| AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 163 |
| MethodArgumentCouldBeFinal | Parameter 'sqlQuery' is not assigned and could be declared final | 3 | 174 |
| MethodArgumentCouldBeFinal | Parameter 'bytes' is not assigned and could be declared final | 3 | 175 |
| MethodArgumentCouldBeFinal | Parameter 'indexChar' is not assigned and could be declared final | 3 | 176 |
| MethodArgumentCouldBeFinal | Parameter 'taskCompletionService' is not assigned and could be declared final | 3 | 177 |
| MethodArgumentCouldBeFinal | Parameter 'countTasksSubmitted' is not assigned and could be declared final | 3 | 178 |
| MethodArgumentCouldBeFinal | Parameter 'countBadAsciiCode' is not assigned and could be declared final | 3 | 179 |
| MethodArgumentCouldBeFinal | Parameter 'currentCallable' is not assigned and could be declared final | 3 | 180 |
| LawOfDemeter | Call to `getBinRanges` on foreign value `currentCallable` (degree 1) | 3 | 187 |
| LawOfDemeter | Call to `getBinRanges` on foreign value `currentCallable` (degree 1) | 3 | 188 |
| LawOfDemeter | Call to `getBinRanges` on foreign value `currentCallable` (degree 1) | 3 | 189 |
| MethodArgumentCouldBeFinal | Parameter 'bytes' is not assigned and could be declared final | 3 | 224 |
| MethodArgumentCouldBeFinal | Parameter 'indexChar' is not assigned and could be declared final | 3 | 224 |
| MethodArgumentCouldBeFinal | Parameter 'countBadAsciiCode' is not assigned and could be declared final | 3 | 224 |
| MethodArgumentCouldBeFinal | Parameter 'currentCallable' is not assigned and could be declared final | 3 | 224 |
| MethodArgumentCouldBeFinal | Parameter 'low' is not assigned and could be declared final | 3 | 224 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 237 |
| MethodArgumentCouldBeFinal | Parameter 'asciiCodeMask' is not assigned and could be declared final | 3 | 245 |
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 3 | 245 |
| MethodArgumentCouldBeFinal | Parameter 'bytes' is not assigned and could be declared final | 3 | 253 |
| MethodArgumentCouldBeFinal | Parameter 'currentCallable' is not assigned and could be declared final | 3 | 253 |
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 `getMediatorEngine` 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 |
| LawOfDemeter | Call to `threadUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 56 |
| LawOfDemeter | Call to `invokeAll` on foreign value `taskExecutor` (degree 2) | 3 | 72 |
| 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 |
| LawOfDemeter | Call to `threadUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 73 |
| LawOfDemeter | Call to `getDiffsWithReference` on foreign value `futureFalsy.get()` (degree 2) | 3 | 79 |
| LawOfDemeter | Call to `get` on foreign value `futureFalsy` (degree 2) | 3 | 79 |
| LawOfDemeter | Call to `get` on foreign value `futureFalsy` (degree 2) | 3 | 81 |
| 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 `threadUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 99 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 3 | 101 |
| LawOfDemeter | Call to `invokeAll` on foreign value `taskExecutor` (degree 2) | 3 | 114 |
| 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 |
| LawOfDemeter | Call to `threadUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 115 |
| LawOfDemeter | Call to `getDiffsWithReference` on foreign value `futureTruthy.get()` (degree 2) | 3 | 121 |
| LawOfDemeter | Call to `get` on foreign value `futureTruthy` (degree 2) | 3 | 121 |
| LawOfDemeter | Call to `get` on foreign value `futureTruthy` (degree 2) | 3 | 123 |
| LawOfDemeter | Call to `get` on foreign value `futureTruthy` (degree 2) | 3 | 125 |
| 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 `getMediatorEngine` 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 `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 3 | 56 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 3 | 57 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: InjectionCharInsertion.callUrl(String, String) | 1 | 65–68 |
| 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 `threadUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 72 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 3 | 81 |
| LawOfDemeter | Call to `invokeAll` on foreign value `taskExecutor` (degree 2) | 3 | 94 |
| 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 |
| LawOfDemeter | Call to `threadUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 95 |
| LawOfDemeter | Call to `getOpcodes` on foreign value `listTagTrue.get(i).get()` (degree 2) | 3 | 102 |
| LawOfDemeter | Call to `get` on foreign value `listTagTrue.get(i)` (degree 2) | 3 | 102 |
| LawOfDemeter | Call to `get` on foreign value `listTagTrue` (degree 2) | 3 | 102 |
| LawOfDemeter | Call to `get` on foreign value `listTagTrue.get(i)` (degree 2) | 3 | 104 |
| LawOfDemeter | Call to `get` on foreign value `listTagTrue` (degree 2) | 3 | 104 |
| 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 `threadUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 120 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 3 | 129 |
| LawOfDemeter | Call to `invokeAll` on foreign value `taskExecutor` (degree 2) | 3 | 142 |
| 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 |
| LawOfDemeter | Call to `threadUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 143 |
| LawOfDemeter | Call to `get` on foreign value `falseTag` (degree 2) | 3 | 149 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 3 | 155 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 3 | 167 |
| LawOfDemeter | Call to `getMediatorEngine` 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/InjectionEngine.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 'engineSpecificWithOperator' is not assigned and could be declared final | 3 | 34 |
| MethodArgumentCouldBeFinal | Parameter 'engine' is not assigned and could be declared final | 3 | 34 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 3 | 37 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 3 | 38 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: InjectionEngine.callUrl(String, String) | 1 | 46–49 |
| 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 |
| LawOfDemeter | Call to `threadUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 53 |
| LawOfDemeter | Call to `invokeAll` on foreign value `taskExecutor` (degree 2) | 3 | 69 |
| 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 |
| LawOfDemeter | Call to `threadUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 70 |
| LawOfDemeter | Call to `getOpcodes` on foreign value `listTagTrue.get(i).get()` (degree 2) | 3 | 77 |
| LawOfDemeter | Call to `get` on foreign value `listTagTrue.get(i)` (degree 2) | 3 | 77 |
| LawOfDemeter | Call to `get` on foreign value `listTagTrue` (degree 2) | 3 | 77 |
| LawOfDemeter | Call to `get` on foreign value `listTagTrue.get(i)` (degree 2) | 3 | 79 |
| LawOfDemeter | Call to `get` on foreign value `listTagTrue` (degree 2) | 3 | 79 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 3 | 86 |
| MethodArgumentCouldBeFinal | Parameter 'engineSpecificWithMode' 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 |
| LawOfDemeter | Call to `threadUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 95 |
| LawOfDemeter | Call to `invokeAll` on foreign value `taskExecutor` (degree 2) | 3 | 111 |
| 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 |
| LawOfDemeter | Call to `threadUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 112 |
| LawOfDemeter | Call to `get` on foreign value `falseTag` (degree 2) | 3 | 117 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 3 | 123 |
| MethodArgumentCouldBeFinal | Parameter 'engineSpecificWithMode' is not assigned and could be declared final | 3 | 127 |
| LawOfDemeter | Call to `getMediatorEngine` 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/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 |
| LawOfDemeter | Call to `threadUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 38 |
| LawOfDemeter | Call to `invokeAll` on foreign value `taskExecutor` (degree 2) | 3 | 52 |
| 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 |
| LawOfDemeter | Call to `threadUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 53 |
| LawOfDemeter | Call to `get` on foreign value `futureId` (degree 2) | 3 | 56 |
| 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 `getMediatorEngine` 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 |
| LawOfDemeter | Call to `threadUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 47 |
| LawOfDemeter | Call to `invokeAll` on foreign value `taskExecutor` (degree 2) | 3 | 63 |
| 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 |
| LawOfDemeter | Call to `threadUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 64 |
| LawOfDemeter | Call to `get` on foreign value `futureFalsy` (degree 2) | 3 | 69 |
| 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 `threadUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 85 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 3 | 87 |
| LawOfDemeter | Call to `invokeAll` on foreign value `taskExecutor` (degree 2) | 3 | 100 |
| 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 |
| LawOfDemeter | Call to `threadUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 101 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 104 |
| LawOfDemeter | Call to `get` on foreign value `futureTruthy` (degree 2) | 3 | 106 |
| 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 `getMediatorEngine` 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 `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 153 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 154 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 154 |
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 | 22 |
| MethodArgumentCouldBeFinal | Parameter 'sqlQuery' is not assigned and could be declared final | 3 | 32 |
| MethodArgumentCouldBeFinal | Parameter 'injectionModel' is not assigned and could be declared final | 3 | 33 |
| MethodArgumentCouldBeFinal | Parameter 'injectionBlind' is not assigned and could be declared final | 3 | 34 |
| MethodArgumentCouldBeFinal | Parameter 'blindOperator' is not assigned and could be declared final | 3 | 35 |
| MethodArgumentCouldBeFinal | Parameter 'binRanges' is not assigned and could be declared final | 3 | 36 |
| MethodArgumentCouldBeFinal | Parameter 'metadataInjectionProcess' is not assigned and could be declared final | 3 | 37 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `injectionModel` (degree 1) | 3 | 43 |
| MethodArgumentCouldBeFinal | Parameter 'sqlQuery' is not assigned and could be declared final | 3 | 50 |
| MethodArgumentCouldBeFinal | Parameter 'indexChar' is not assigned and could be declared final | 3 | 51 |
| MethodArgumentCouldBeFinal | Parameter 'injectionModel' is not assigned and could be declared final | 3 | 52 |
| MethodArgumentCouldBeFinal | Parameter 'injectionBlind' is not assigned and could be declared final | 3 | 53 |
| MethodArgumentCouldBeFinal | Parameter 'blindOperator' is not assigned and could be declared final | 3 | 54 |
| MethodArgumentCouldBeFinal | Parameter 'binRanges' is not assigned and could be declared final | 3 | 55 |
| MethodArgumentCouldBeFinal | Parameter 'metadataInjectionProcess' is not assigned and could be declared final | 3 | 56 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `injectionModel` (degree 1) | 3 | 59 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 76 |
| 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/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 `getMediatorEngine` 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 `getMediatorEngine` 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 'booleanUrl' 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/CallableEngine.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/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 `getMediatorEngine` 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 `getMediatorEngine` 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 `getMediatorEngine` 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/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 | 38 |
| GodClass | Possible God Class (WMC=217, ATFD=98, TCC=0.000%) | 3 | 38 |
| CyclomaticComplexity | The class 'DiffMatchPatch' has a total cyclomatic complexity of 217 (highest 32). | 3 | 38 |
| TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 38–1251 |
| LooseCoupling | Avoid using implementation types like 'LinkedList'; use the interface instead | 3 | 84 |
| MethodArgumentCouldBeFinal | Parameter 'text1' is not assigned and could be declared final | 3 | 84 |
| MethodArgumentCouldBeFinal | Parameter 'text2' is not assigned and could be declared final | 3 | 84 |
| MethodArgumentCouldBeFinal | Parameter 'checklines' is not assigned and could be declared final | 3 | 84 |
| LooseCoupling | Avoid using implementation types like 'LinkedList'; use the interface instead | 3 | 102 |
| MethodArgumentCouldBeFinal | Parameter 'valueText1' is not assigned and could be declared final | 3 | 102 |
| MethodArgumentCouldBeFinal | Parameter 'valueText2' is not assigned and could be declared final | 3 | 102 |
| MethodArgumentCouldBeFinal | Parameter 'checklines' is not assigned and could be declared final | 3 | 102 |
| MethodArgumentCouldBeFinal | Parameter 'deadline' is not assigned and could be declared final | 3 | 102 |
| LooseCoupling | Avoid using implementation types like 'LinkedList'; use the interface instead | 3 | 112 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 118 |
| LooseCoupling | Avoid using implementation types like 'LinkedList'; use the interface instead | 3 | 159 |
| CyclomaticComplexity | The method 'diffCompute(String, String, boolean, long)' has a cyclomatic complexity of 12. | 3 | 159 |
| MethodArgumentCouldBeFinal | Parameter 'text1' is not assigned and could be declared final | 3 | 159 |
| MethodArgumentCouldBeFinal | Parameter 'text2' is not assigned and could be declared final | 3 | 159 |
| MethodArgumentCouldBeFinal | Parameter 'checklines' is not assigned and could be declared final | 3 | 159 |
| MethodArgumentCouldBeFinal | Parameter 'deadline' is not assigned and could be declared final | 3 | 159 |
| LooseCoupling | Avoid using implementation types like 'LinkedList'; use the interface instead | 3 | 160 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 165 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 171 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 186 |
| AvoidLiteralsInIfCondition | Avoid using literals such as 1 in if statements | 3 | 189 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 194 |
| LooseCoupling | Avoid using implementation types like 'LinkedList'; use the interface instead | 3 | 208 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 214 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 218 |
| LooseCoupling | Avoid using implementation types like 'LinkedList'; use the interface instead | 3 | 233 |
| CognitiveComplexity | The method 'diffLineMode(String, String, long)' has a cognitive complexity of 17, current threshold is 15 | 3 | 233 |
| CyclomaticComplexity | The method 'diffLineMode(String, String, long)' has a cyclomatic complexity of 10. | 3 | 233 |
| MethodArgumentCouldBeFinal | Parameter 'valueText1' is not assigned and could be declared final | 3 | 233 |
| MethodArgumentCouldBeFinal | Parameter 'valueText2' is not assigned and could be declared final | 3 | 233 |
| MethodArgumentCouldBeFinal | Parameter 'deadline' is not assigned and could be declared final | 3 | 233 |
| LooseCoupling | Avoid using implementation types like 'LinkedList'; use the interface instead | 3 | 240 |
| LawOfDemeter | Call to `getOperation` on foreign value `thisDiff` (degree 1) | 3 | 258 |
| NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 3 | 286 |
| LooseCoupling | Avoid using implementation types like 'LinkedList'; use the interface instead | 3 | 302 |
| NcssCount | The method 'diffBisect(String, String, long)' has a NCSS line count of 75. | 3 | 302 |
| CognitiveComplexity | The method 'diffBisect(String, String, long)' has a cognitive complexity of 62, current threshold is 15 | 3 | 302 |
| CyclomaticComplexity | The method 'diffBisect(String, String, long)' has a cyclomatic complexity of 32. | 3 | 302 |
| NPathComplexity | The method 'diffBisect(String, String, long)' has an NPath complexity of 29190, current threshold is 200 | 3 | 302 |
| MethodArgumentCouldBeFinal | Parameter 'text1' is not assigned and could be declared final | 3 | 302 |
| MethodArgumentCouldBeFinal | Parameter 'text2' is not assigned and could be declared final | 3 | 302 |
| MethodArgumentCouldBeFinal | Parameter 'deadline' is not assigned and could be declared final | 3 | 302 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 362 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 400 |
| LooseCoupling | Avoid using implementation types like 'LinkedList'; use the interface instead | 3 | 408 |
| LooseCoupling | Avoid using implementation types like 'LinkedList'; use the interface instead | 3 | 424 |
| MethodArgumentCouldBeFinal | Parameter 'text1' is not assigned and could be declared final | 3 | 424 |
| MethodArgumentCouldBeFinal | Parameter 'text2' is not assigned and could be declared final | 3 | 424 |
| MethodArgumentCouldBeFinal | Parameter 'x' is not assigned and could be declared final | 3 | 424 |
| MethodArgumentCouldBeFinal | Parameter 'y' is not assigned and could be declared final | 3 | 424 |
| MethodArgumentCouldBeFinal | Parameter 'deadline' is not assigned and could be declared final | 3 | 424 |
| LooseCoupling | Avoid using implementation types like 'LinkedList'; use the interface instead | 3 | 431 |
| MethodArgumentCouldBeFinal | Parameter 'text1' is not assigned and could be declared final | 3 | 447 |
| MethodArgumentCouldBeFinal | Parameter 'text2' is not assigned and could be declared final | 3 | 447 |
| UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 449 |
| MethodArgumentCouldBeFinal | Parameter 'text' is not assigned and could be declared final | 3 | 470 |
| MethodArgumentCouldBeFinal | Parameter 'lineArray' is not assigned and could be declared final | 3 | 470 |
| MethodArgumentCouldBeFinal | Parameter 'lineHash' is not assigned and could be declared final | 3 | 471 |
| MethodArgumentCouldBeFinal | Parameter 'diffs' is not assigned and could be declared final | 3 | 504 |
| MethodArgumentCouldBeFinal | Parameter 'lineArray' is not assigned and could be declared final | 3 | 504 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 3 | 507 |
| MethodArgumentCouldBeFinal | Parameter 'text1' is not assigned and could be declared final | 3 | 521 |
| MethodArgumentCouldBeFinal | Parameter 'text2' is not assigned and could be declared final | 3 | 521 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 526 |
| MethodArgumentCouldBeFinal | Parameter 'text1' is not assigned and could be declared final | 3 | 538 |
| MethodArgumentCouldBeFinal | Parameter 'text2' is not assigned and could be declared final | 3 | 538 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 545 |
| CyclomaticComplexity | The method 'diffCommonOverlap(String, String)' has a cyclomatic complexity of 10. | 3 | 558 |
| MethodArgumentCouldBeFinal | Parameter 'valueText1' is not assigned and could be declared final | 3 | 558 |
| MethodArgumentCouldBeFinal | Parameter 'valueText2' is not assigned and could be declared final | 3 | 558 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 567 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 578 |
| CognitiveComplexity | The method 'diffHalfMatch(String, String)' has a cognitive complexity of 15, current threshold is 15 | 3 | 611 |
| CyclomaticComplexity | The method 'diffHalfMatch(String, String)' has a cyclomatic complexity of 11. | 3 | 611 |
| MethodArgumentCouldBeFinal | Parameter 'text1' is not assigned and could be declared final | 3 | 611 |
| MethodArgumentCouldBeFinal | Parameter 'text2' is not assigned and could be declared final | 3 | 611 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 615 |
| ReturnEmptyCollectionRatherThanNull | Return an empty collection rather than null. | 1 | 615 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 624 |
| ReturnEmptyCollectionRatherThanNull | Return an empty collection rather than null. | 1 | 624 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 636 |
| MethodArgumentCouldBeFinal | Parameter 'longtext' is not assigned and could be declared final | 3 | 652 |
| MethodArgumentCouldBeFinal | Parameter 'shorttext' is not assigned and could be declared final | 3 | 652 |
| MethodArgumentCouldBeFinal | Parameter 'i' is not assigned and could be declared final | 3 | 652 |
| AssignmentInOperand | Avoid assignment to j in operand | 3 | 661 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 676–677 |
| ReturnEmptyCollectionRatherThanNull | Return an empty collection rather than null. | 1 | 679 |
| NcssCount | The method 'diffCleanupSemantic(LinkedList<Diff>)' has a NCSS line count of 80. | 3 | 687 |
| CognitiveComplexity | The method 'diffCleanupSemantic(LinkedList<Diff>)' has a cognitive complexity of 65, current threshold is 15 | 3 | 687 |
| CyclomaticComplexity | The method 'diffCleanupSemantic(LinkedList<Diff>)' has a cyclomatic complexity of 27. | 3 | 687 |
| NPathComplexity | The method 'diffCleanupSemantic(LinkedList<Diff>)' has an NPath complexity of 13747, current threshold is 200 | 3 | 687 |
| LooseCoupling | Avoid using implementation types like 'LinkedList'; use the interface instead | 3 | 687 |
| MethodArgumentCouldBeFinal | Parameter 'diffs' is not assigned and could be declared final | 3 | 687 |
| LooseCoupling | Avoid using implementation types like 'Stack'; use the interface instead | 3 | 693 |
| LawOfDemeter | Call to `getOperation` on foreign value `thisDiff` (degree 1) | 3 | 705 |
| LawOfDemeter | Call to `getOperation` on foreign value `thisDiff` (degree 1) | 3 | 715 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 3 | 728 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 3 | 734 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 3 | 736 |
| EmptyControlStatement | Empty while statement | 3 | 751–753 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 3 | 751 |
| NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 3 | 760 |
| NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 3 | 764 |
| NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 3 | 781 |
| LawOfDemeter | Call to `getOperation` on foreign value `prevDiff` (degree 1) | 3 | 790 |
| LawOfDemeter | Call to `getOperation` on foreign value `thisDiff` (degree 1) | 3 | 791 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 3 | 801–802 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 3 | 814–815 |
| NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 3 | 824 |
| NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 3 | 827 |
| NcssCount | The method 'diffCleanupSemanticLossless(List<Diff>)' has a NCSS line count of 66. | 3 | 837 |
| CognitiveComplexity | The method 'diffCleanupSemanticLossless(List<Diff>)' has a cognitive complexity of 33, current threshold is 15 | 3 | 837 |
| CyclomaticComplexity | The method 'diffCleanupSemanticLossless(List<Diff>)' has a cyclomatic complexity of 16. | 3 | 837 |
| NPathComplexity | The method 'diffCleanupSemanticLossless(List<Diff>)' has an NPath complexity of 840, current threshold is 200 | 3 | 837 |
| MethodArgumentCouldBeFinal | Parameter 'diffs' is not assigned and could be declared final | 3 | 837 |
| LawOfDemeter | Call to `getOperation` on foreign value `prevDiff` (degree 1) | 3 | 856 |
| LawOfDemeter | Call to `getOperation` on foreign value `nextDiff` (degree 1) | 3 | 857 |
| ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 902–911 |
| ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 913–919 |
| NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 3 | 924 |
| CognitiveComplexity | The method 'diffCleanupSemanticScore(String, String)' has a cognitive complexity of 18, current threshold is 15 | 3 | 936 |
| CyclomaticComplexity | The method 'diffCleanupSemanticScore(String, String)' has a cyclomatic complexity of 14. | 3 | 936 |
| NPathComplexity | The method 'diffCleanupSemanticScore(String, String)' has an NPath complexity of 1282, current threshold is 200 | 3 | 936 |
| MethodArgumentCouldBeFinal | Parameter 'one' is not assigned and could be declared final | 3 | 936 |
| MethodArgumentCouldBeFinal | Parameter 'two' is not assigned and could be declared final | 3 | 936 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 939 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 962 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 965 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 968 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 971 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 974 |
| CognitiveComplexity | The method 'diffCleanupEfficiency(LinkedList<Diff>)' has a cognitive complexity of 62, current threshold is 15 | 3 | 983 |
| CyclomaticComplexity | The method 'diffCleanupEfficiency(LinkedList<Diff>)' has a cyclomatic complexity of 27. | 3 | 983 |
| NPathComplexity | The method 'diffCleanupEfficiency(LinkedList<Diff>)' has an NPath complexity of 18251, current threshold is 200 | 3 | 983 |
| LooseCoupling | Avoid using implementation types like 'LinkedList'; use the interface instead | 3 | 983 |
| MethodArgumentCouldBeFinal | Parameter 'diffs' is not assigned and could be declared final | 3 | 983 |
| LooseCoupling | Avoid using implementation types like 'Stack'; use the interface instead | 3 | 989 |
| LawOfDemeter | Call to `getOperation` on foreign value `thisDiff` (degree 1) | 3 | 1004 |
| NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 3 | 1016 |
| AssignmentInOperand | Avoid assignment to postDel in operand | 3 | 1019 |
| LawOfDemeter | Call to `getOperation` on foreign value `thisDiff` (degree 1) | 3 | 1022 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 3 | 1047 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 3 | 1053 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 3 | 1055 |
| NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 3 | 1059 |
| AssignmentInOperand | Avoid assignment to postDel in operand | 3 | 1062 |
| EmptyControlStatement | Empty while statement | 3 | 1078–1080 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 3 | 1078 |
| AssignmentInOperand | Avoid assignment to postDel in operand | 3 | 1081 |
| NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 3 | 1087 |
| NcssCount | The method 'diffCleanupMerge(LinkedList<Diff>)' has a NCSS line count of 108. | 3 | 1100 |
| CognitiveComplexity | The method 'diffCleanupMerge(LinkedList<Diff>)' has a cognitive complexity of 75, current threshold is 15 | 3 | 1100 |
| CyclomaticComplexity | The method 'diffCleanupMerge(LinkedList<Diff>)' has a cyclomatic complexity of 30. | 3 | 1100 |
| NPathComplexity | The method 'diffCleanupMerge(LinkedList<Diff>)' has an NPath complexity of 434400, current threshold is 200 | 3 | 1100 |
| LooseCoupling | Avoid using implementation types like 'LinkedList'; use the interface instead | 3 | 1100 |
| MethodArgumentCouldBeFinal | Parameter 'diffs' is not assigned and could be declared final | 3 | 1100 |
| SwitchDensity | A high ratio of statements to labels in a switch statement. Consider refactoring. | 3 | 1111–1193 |
| LawOfDemeter | Call to `getOperation` on foreign value `thisDiff` (degree 1) | 3 | 1111 |
| NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 3 | 1115 |
| NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 3 | 1120 |
| AvoidLiteralsInIfCondition | Avoid using literals such as 1 in if statements | 3 | 1123 |
| AssignmentInOperand | Avoid assignment to countDelete in operand | 3 | 1128 |
| AssignmentInOperand | Avoid assignment to countInsert in operand | 3 | 1132 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 3 | 1147–1148 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 3 | 1173 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 3 | 1176 |
| NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 3 | 1179 |
| NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 3 | 1194 |
| NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 3 | 1210 |
| LawOfDemeter | Call to `getOperation` on foreign value `prevDiff` (degree 1) | 3 | 1215 |
| LawOfDemeter | Call to `getOperation` on foreign value `nextDiff` (degree 1) | 3 | 1216 |
| NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 3 | 1230 |
| NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 3 | 1238 |
| NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 3 | 1244 |
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 | 47 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 3 | 54 |
| AvoidSynchronizedAtMethodLevel | Use block level locking rather than method level synchronization | 3 | 94 |
com/jsql/model/suspendable/Input.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'charInsertion' is not assigned and could be declared final | 3 | 16 |
| MethodArgumentCouldBeFinal | Parameter 'o' 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 | 22 |
| ControlStatementBraces | This statement should have braces | 3 | 22 |
com/jsql/model/suspendable/SuspendableGetCharInsertion.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'injectionModel' is not assigned and could be declared final | 3 | 40 |
| CyclomaticComplexity | The method 'run(Input)' has a cyclomatic complexity of 10. | 3 | 45 |
| MethodArgumentCouldBeFinal | Parameter 'input' is not assigned and could be declared final | 3 | 45 |
| CloseResource | Ensure that resources like this ExecutorService object are closed after use | 3 | 48 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 48 |
| LawOfDemeter | Call to `threadUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 48 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 3 | 71 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 3 | 71 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 3 | 71 |
| LawOfDemeter | Call to `getEngine` on foreign value `mediatorEngine` (degree 2) | 3 | 74 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 3 | 75 |
| LawOfDemeter | Call to `getEngine` on foreign value `mediatorEngine` (degree 2) | 3 | 75 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 3 | 84 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 89 |
| LawOfDemeter | Call to `threadUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 89 |
| MethodArgumentCouldBeFinal | Parameter 'mediatorEngine' is not assigned and could be declared final | 3 | 96 |
| MethodArgumentCouldBeFinal | Parameter 'enginesOrderByMatches' is not assigned and could be declared final | 3 | 96 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 3 | 99 |
| LawOfDemeter | Call to `getEngine` on foreign value `mediatorEngine` (degree 1) | 3 | 99 |
| AvoidLiteralsInIfCondition | Avoid using literals such as 1 in if statements | 3 | 102 |
| MethodArgumentCouldBeFinal | Parameter 'mediatorEngine' is not assigned and could be declared final | 3 | 113 |
| MethodArgumentCouldBeFinal | Parameter 'pageSource' is not assigned and could be declared final | 3 | 113 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 3 | 116 |
| LawOfDemeter | Call to `getAuto` on foreign value `mediatorEngine` (degree 1) | 3 | 116 |
| MethodArgumentCouldBeFinal | Parameter 'taskCompletionService' is not assigned and could be declared final | 3 | 143 |
| UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 4 | 143 |
| MethodArgumentCouldBeFinal | Parameter 'charFromBooleanMatch' is not assigned and could be declared final | 3 | 143 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 3 | 167–174 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 3 | 170 |
| MethodArgumentCouldBeFinal | Parameter 'charFromBooleanMatch' is not assigned and could be declared final | 3 | 181 |
| MethodArgumentCouldBeFinal | Parameter 'charactersInsertion' is not assigned and could be declared final | 3 | 182 |
| MethodArgumentCouldBeFinal | Parameter 'prefixValue' is not assigned and could be declared final | 3 | 183 |
| MethodArgumentCouldBeFinal | Parameter 'prefixQuote' is not assigned and could be declared final | 3 | 184 |
| MethodArgumentCouldBeFinal | Parameter 'prefixParenthesis' is not assigned and could be declared final | 3 | 185 |
| MethodArgumentCouldBeFinal | Parameter 'characterInsertionByUser' is not assigned and could be declared final | 3 | 210 |
| MethodArgumentCouldBeFinal | Parameter 'characterInsertionDetected' is not assigned and could be declared final | 3 | 210 |
| ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 220–240 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 3 | 225 |
com/jsql/model/suspendable/SuspendableGetEngine.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'injectionModel' is not assigned and could be declared final | 3 | 21 |
| LawOfDemeter | Call to `filter` on foreign value `this.injectionModel.getMediatorEngine().getEnginesForFingerprint().stream().filter(engine -> engine != this.injectionModel.getMediatorEngine().getAuto())` (degree 2) | 3 | 30–35 |
| LawOfDemeter | Call to `filter` on foreign value `this.injectionModel.getMediatorEngine().getEnginesForFingerprint().stream()` (degree 2) | 3 | 30–32 |
| LawOfDemeter | Call to `getEnginesForFingerprint` on foreign value `this.injectionModel.getMediatorEngine()` (degree 2) | 3 | 30 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 3 | 30 |
| LawOfDemeter | Call to `stream` on foreign value `this.injectionModel.getMediatorEngine().getEnginesForFingerprint()` (degree 2) | 3 | 30–31 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 3 | 32 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 3 | 32 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 3 | 40 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 3 | 52 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 3 | 55 |
| ExceptionAsFlowControl | Exception thrown at line 48 is caught in this block. | 3 | 57–59 |
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(Input)' 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 `threadUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 34 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 40 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 40 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 41 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 41 |
| AvoidInstantiatingObjectsInLoops | Avoid instantiating new objects inside loops | 3 | 49–54 |
| LawOfDemeter | Call to `getMediatorEngine` 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 `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 74 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 89 |
| LawOfDemeter | Call to `threadUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 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=18, TCC=0.833%) | 3 | 42 |
| TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 42–412 |
| MethodArgumentCouldBeFinal | Parameter 'injectionModel' is not assigned and could be declared final | 3 | 46 |
| CognitiveComplexity | The method 'run(Input)' has a cognitive complexity of 19, current threshold is 15 | 3 | 51 |
| CyclomaticComplexity | The method 'run(Input)' has a cyclomatic complexity of 12. | 3 | 51 |
| MethodArgumentCouldBeFinal | Parameter 'input' is not assigned and could be declared final | 3 | 51 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 59 |
| LawOfDemeter | Call to `threadUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 59 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) | 3 | 61 |
| 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 | 149 |
| LawOfDemeter | Call to `threadUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 149 |
| MethodArgumentCouldBeFinal | Parameter 'currentChunk' is not assigned and could be declared final | 3 | 153 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 154 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 154 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 156 |
| MethodArgumentCouldBeFinal | Parameter 'currentChunk' is not assigned and could be declared final | 3 | 164 |
| MethodArgumentCouldBeFinal | Parameter 'initialSqlQuery' is not assigned and could be declared final | 3 | 164 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 166 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 166 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 170–174 |
| MethodArgumentCouldBeFinal | Parameter 'initialSqlQuery' is not assigned and could be declared final | 3 | 179 |
| MethodArgumentCouldBeFinal | Parameter 'countAllRows' is not assigned and could be declared final | 3 | 179 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.injectionModel` (degree 1) | 3 | 180 |
| MethodArgumentCouldBeFinal | Parameter 'slidingWindowAllRows' is not assigned and could be declared final | 3 | 183 |
| MethodArgumentCouldBeFinal | Parameter 'slidingWindowCurrentRow' is not assigned and could be declared final | 3 | 183 |
| AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 3 | 219 |
| MethodArgumentCouldBeFinal | Parameter 'slidingWindowCurrentRow' is not assigned and could be declared final | 3 | 224 |
| MethodArgumentCouldBeFinal | Parameter 'slidingWindowCurrentRow' is not assigned and could be declared final | 3 | 236 |
| MethodArgumentCouldBeFinal | Parameter 'searchName' is not assigned and could be declared final | 3 | 254 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 3 | 254 |
| InsufficientStringBufferDeclaration | StringBuilder has been initialized with size 48, but has at least 65 characters appended. | 3 | 260 |
| MethodArgumentCouldBeFinal | Parameter 'currentChunk' is not assigned and could be declared final | 3 | 270 |
| MethodArgumentCouldBeFinal | Parameter 'loop' is not assigned and could be declared final | 3 | 284 |
| MethodArgumentCouldBeFinal | Parameter 'previousChunk' is not assigned and could be declared final | 3 | 285 |
| MethodArgumentCouldBeFinal | Parameter 'currentChunk' is not assigned and could be declared final | 3 | 286 |
| MethodArgumentCouldBeFinal | Parameter 'slidingWindowCurrentRow' is not assigned and could be declared final | 3 | 287 |
| MethodArgumentCouldBeFinal | Parameter 'slidingWindowAllRows' is not assigned and could be declared final | 3 | 288 |
| AvoidLiteralsInIfCondition | Avoid using literals such as 20 in if statements | 3 | 293 |
| MethodArgumentCouldBeFinal | Parameter 'sourcePage' is not assigned and could be declared final | 3 | 304 |
| MethodArgumentCouldBeFinal | Parameter 'sourcePage' is not assigned and could be declared final | 3 | 320 |
| MethodArgumentCouldBeFinal | Parameter 'performanceLength' is not assigned and could be declared final | 3 | 320 |
| MethodArgumentCouldBeFinal | Parameter 'strategy' is not assigned and could be declared final | 3 | 335 |
| MethodArgumentCouldBeFinal | Parameter 'slidingWindowAllRows' is not assigned and could be declared final | 3 | 336 |
| MethodArgumentCouldBeFinal | Parameter 'slidingWindowCurrentRow' is not assigned and could be declared final | 3 | 337 |
| MethodArgumentCouldBeFinal | Parameter 'slidingWindowAllRows' is not assigned and could be declared final | 3 | 350 |
| MethodArgumentCouldBeFinal | Parameter 'numberToFind' is not assigned and could be declared final | 3 | 371 |
| MethodArgumentCouldBeFinal | Parameter 'countProgress' is not assigned and could be declared final | 3 | 371 |
| MethodArgumentCouldBeFinal | Parameter 'searchName' is not assigned and could be declared final | 3 | 371 |
| MethodArgumentCouldBeFinal | Parameter 'rows' is not assigned and could be declared final | 3 | 377 |
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 |
|---|---|---|---|
| GodClass | Possible God Class (WMC=49, ATFD=53, TCC=11.688%) | 3 | 37 |
| MethodArgumentCouldBeFinal | Parameter 'injectionModel' is not assigned and could be declared final | 3 | 49 |
| LawOfDemeter | Call to `certificateUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 56 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 56 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 58 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 58 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 62 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 62 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 65 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 65 |
| LawOfDemeter | Call to `authenticationUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 68 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 68 |
| LawOfDemeter | Call to `authenticationUtil` on foreign value `ConnectionUtil.this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 73 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `ConnectionUtil.this.injectionModel` (degree 1) | 3 | 73 |
| LawOfDemeter | Call to `authenticationUtil` on foreign value `ConnectionUtil.this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 74 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `ConnectionUtil.this.injectionModel` (degree 1) | 3 | 74 |
| MethodArgumentCouldBeFinal | Parameter 'httpResponse' is not assigned and could be declared final | 3 | 82 |
| MethodArgumentCouldBeFinal | Parameter 'httpHeaders' is not assigned and could be declared final | 3 | 89 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 111 |
| LawOfDemeter | Call to `parameterUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 111 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 120 |
| LawOfDemeter | Call to `parameterUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 120 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 122 |
| LawOfDemeter | Call to `parameterUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 122 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 124 |
| LawOfDemeter | Call to `parameterUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 124 |
| LawOfDemeter | Call to `getListRequest` on foreign value `this.injectionModel.getMediatorUtils().parameterUtil()` (degree 2) | 3 | 126 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 126 |
| LawOfDemeter | Call to `parameterUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 126 |
| LawOfDemeter | Call to `csrfUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 145 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 145 |
| LawOfDemeter | Call to `digestUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 146 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 146 |
| LawOfDemeter | Call to `getListHeader` on foreign value `this.injectionModel.getMediatorUtils().parameterUtil()` (degree 2) | 3 | 151 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 151 |
| LawOfDemeter | Call to `parameterUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 151 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 155 |
| LawOfDemeter | Call to `headerUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 155 |
| CyclomaticComplexity | The method 'testConnection()' has a cyclomatic complexity of 11. | 3 | 158 |
| LawOfDemeter | Call to `getCookieStore` on foreign value `this.getCookieManager()` (degree 1) | 3 | 161 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 166 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 166 |
| LawOfDemeter | Call to `csrfUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 168 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 168 |
| LawOfDemeter | Call to `digestUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 169 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 169 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 172 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 172 |
| LawOfDemeter | Call to `digestUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 174 |
| 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 | 180 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 180 |
| MethodArgumentCouldBeFinal | Parameter 'url' is not assigned and could be declared final | 3 | 190 |
| MethodArgumentCouldBeFinal | Parameter 'url' is not assigned and could be declared final | 3 | 194 |
| MethodArgumentCouldBeFinal | Parameter 'url' is not assigned and could be declared final | 3 | 198 |
| MethodArgumentCouldBeFinal | Parameter 'isConnectIssueIgnored' is not assigned and could be declared final | 3 | 198 |
| MethodArgumentCouldBeFinal | Parameter 'url' is not assigned and could be declared final | 3 | 202 |
| MethodArgumentCouldBeFinal | Parameter 'lineFeed' is not assigned and could be declared final | 3 | 202 |
| MethodArgumentCouldBeFinal | Parameter 'isConnectIssueIgnored' is not assigned and could be declared final | 3 | 202 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 3 | 230 |
| 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 `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 250 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 251 |
| LawOfDemeter | Call to `userAgentUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 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 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 312 |
com/jsql/util/CookiesUtil.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'injectionModel' is not assigned and could be declared final | 3 | 19 |
| MethodArgumentCouldBeFinal | Parameter 'hasFoundInjection' is not assigned and could be declared final | 3 | 23 |
| ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 24–31 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 25 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 25 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 26 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 30 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 33 |
| LawOfDemeter | Call to `parameterUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 33 |
| LawOfDemeter | Call to `filter` on foreign value `this.injectionModel.getMediatorUtils().parameterUtil().getListHeader().stream().filter(entry -> "cookie".equalsIgnoreCase(entry.getKey())).findFirst().map(cookieHeader -> cookieHeader.getValue().split(";")).stream().flatMap(Stream::of)` (degree 2) | 3 | 35–42 |
| LawOfDemeter | Call to `filter` on foreign value `this.injectionModel.getMediatorUtils().parameterUtil().getListHeader().stream()` (degree 2) | 3 | 35–37 |
| LawOfDemeter | Call to `findFirst` on foreign value `this.injectionModel.getMediatorUtils().parameterUtil().getListHeader().stream().filter(entry -> "cookie".equalsIgnoreCase(entry.getKey()))` (degree 2) | 3 | 35–38 |
| LawOfDemeter | Call to `flatMap` on foreign value `this.injectionModel.getMediatorUtils().parameterUtil().getListHeader().stream().filter(entry -> "cookie".equalsIgnoreCase(entry.getKey())).findFirst().map(cookieHeader -> cookieHeader.getValue().split(";")).stream()` (degree 2) | 3 | 35–41 |
| LawOfDemeter | Call to `getListHeader` on foreign value `this.injectionModel.getMediatorUtils().parameterUtil()` (degree 2) | 3 | 35 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 35 |
| LawOfDemeter | Call to `map` on foreign value `this.injectionModel.getMediatorUtils().parameterUtil().getListHeader().stream().filter(entry -> "cookie".equalsIgnoreCase(entry.getKey())).findFirst().map(cookieHeader -> cookieHeader.getValue().split(";")).stream().flatMap(Stream::of).filter(cookie -> cookie != null && cookie.contains("=")).map(cookie -> cookie.split("=", 2))` (degree 2) | 3 | 35–47 |
| LawOfDemeter | Call to `map` on foreign value `this.injectionModel.getMediatorUtils().parameterUtil().getListHeader().stream().filter(entry -> "cookie".equalsIgnoreCase(entry.getKey())).findFirst().map(cookieHeader -> cookieHeader.getValue().split(";")).stream().flatMap(Stream::of).filter(cookie -> cookie != null && cookie.contains("="))` (degree 2) | 3 | 35–43 |
| LawOfDemeter | Call to `map` on foreign value `this.injectionModel.getMediatorUtils().parameterUtil().getListHeader().stream().filter(entry -> "cookie".equalsIgnoreCase(entry.getKey())).findFirst()` (degree 2) | 3 | 35–39 |
| LawOfDemeter | Call to `parameterUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 35 |
| LawOfDemeter | Call to `stream` on foreign value `this.injectionModel.getMediatorUtils().parameterUtil().getListHeader().stream().filter(entry -> "cookie".equalsIgnoreCase(entry.getKey())).findFirst().map(cookieHeader -> cookieHeader.getValue().split(";"))` (degree 2) | 3 | 35–40 |
| LawOfDemeter | Call to `stream` on foreign value `this.injectionModel.getMediatorUtils().parameterUtil().getListHeader()` (degree 2) | 3 | 35–36 |
| LawOfDemeter | Call to `toList` on foreign value `this.injectionModel.getMediatorUtils().parameterUtil().getListHeader().stream().filter(entry -> "cookie".equalsIgnoreCase(entry.getKey())).findFirst().map(cookieHeader -> cookieHeader.getValue().split(";")).stream().flatMap(Stream::of).filter(cookie -> cookie != null && cookie.contains("=")).map(cookie -> cookie.split("=", 2)).map(arrayEntry -> new SimpleEntry<>(arrayEntry[0].trim()...))` (degree 2) | 3 | 35–48 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 54 |
| LawOfDemeter | Call to `parameterUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 54 |
| LawOfDemeter | Call to `getMediatorMethod` 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 |
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 `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 51 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 55 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 55 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 81 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 81 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 82 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 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 `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 128 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 129 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 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 `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 146 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 148 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 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 | 158–164 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 171 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 171 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 175 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 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 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 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 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 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 `authenticationUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 58 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 58 |
| LawOfDemeter | Call to `authenticationUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 59 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 59 |
| LawOfDemeter | Call to `connectionUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 63 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 63 |
| LawOfDemeter | Call to `connectionUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 70 |
| 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 |
| CyclomaticComplexity | The method 'uncaughtException(Thread, Throwable)' has a cyclomatic complexity of 10. | 3 | 41 |
| 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 | 56 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `ExceptionUtil.this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 56 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 63 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 66 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `ExceptionUtil.this.injectionModel` (degree 1) | 3 | 85 |
| LawOfDemeter | Call to `gitUtil` on foreign value `ExceptionUtil.this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 85 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 3 | 102 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 3 | 105 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 3 | 109 |
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 | 58–62 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 58 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 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 `getListQueryString` on foreign value `this.injectionModel.getMediatorUtils().parameterUtil()` (degree 2) | 3 | 76 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 76 |
| LawOfDemeter | Call to `parameterUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 76 |
| LawOfDemeter | Call to `getListRequest` on foreign value `this.injectionModel.getMediatorUtils().parameterUtil()` (degree 2) | 3 | 83 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 83 |
| LawOfDemeter | Call to `parameterUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 83 |
| MethodArgumentCouldBeFinal | Parameter 'statusCode' is not assigned and could be declared final | 3 | 94 |
| LooseCoupling | Avoid using implementation types like 'Elements'; use the interface instead | 3 | 94 |
| MethodArgumentCouldBeFinal | Parameter 'elementsForm' is not assigned and could be declared final | 3 | 94 |
| MethodArgumentCouldBeFinal | Parameter 'result' is not assigned and could be declared final | 3 | 94 |
| AvoidLiteralsInIfCondition | Avoid using literals such as 200 in if statements | 3 | 101 |
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 `getMediatorEngine` 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 `proxyUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 135 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 142 |
| LawOfDemeter | Call to `propertiesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 142 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 149 |
| LawOfDemeter | Call to `propertiesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 149 |
| LawOfDemeter | Call to `connectionUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 161 |
| 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 `connectionUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 208 |
| 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 |
| LawOfDemeter | Call to `propertiesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 209 |
com/jsql/util/HeaderUtil.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'injectionModel' is not assigned and could be declared final | 3 | 35 |
| MethodArgumentCouldBeFinal | Parameter 'httpRequest' is not assigned and could be declared final | 3 | 45 |
| MethodArgumentCouldBeFinal | Parameter 'header' is not assigned and could be declared final | 3 | 45 |
| MethodArgumentCouldBeFinal | Parameter 'httpRequestBuilder' is not assigned and could be declared final | 3 | 81 |
| MethodArgumentCouldBeFinal | Parameter 'body' is not assigned and could be declared final | 3 | 81 |
| LawOfDemeter | Call to `connectionUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 83 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 83 |
| LawOfDemeter | Call to `connectionUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 89 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 89 |
| LawOfDemeter | Call to `formUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 99 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 99 |
| LawOfDemeter | Call to `csrfUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 100 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 100 |
| LawOfDemeter | Call to `digestUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 101 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 101 |
| MethodArgumentCouldBeFinal | Parameter 'response' is not assigned and could be declared final | 3 | 127 |
| AvoidLiteralsInIfCondition | Avoid using literals such as 400 in if statements | 3 | 128 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 129 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 129 |
| CognitiveComplexity | The method 'checkResponse(String, Map<String, String>)' has a cognitive complexity of 18, current threshold is 15 | 3 | 137 |
| CyclomaticComplexity | The method 'checkResponse(String, Map<String, String>)' has a cyclomatic complexity of 11. | 3 | 137 |
| MethodArgumentCouldBeFinal | Parameter 'responseCode' is not assigned and could be declared final | 3 | 137 |
| MethodArgumentCouldBeFinal | Parameter 'mapResponse' is not assigned and could be declared final | 3 | 137 |
| ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 172–176 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 172 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 172 |
| MethodArgumentCouldBeFinal | Parameter 'responseCode' is not assigned and could be declared final | 3 | 186 |
| MethodArgumentCouldBeFinal | Parameter 'mapResponse' is not assigned and could be declared final | 3 | 186 |
| MethodArgumentCouldBeFinal | Parameter 'responseCode' is not assigned and could be declared final | 3 | 192 |
| MethodArgumentCouldBeFinal | Parameter 'mapResponse' is not assigned and could be declared final | 3 | 192 |
| MethodArgumentCouldBeFinal | Parameter 'responseCode' is not assigned and could be declared final | 3 | 199 |
| MethodArgumentCouldBeFinal | Parameter 'mapResponse' is not assigned and could be declared final | 3 | 199 |
| MethodArgumentCouldBeFinal | Parameter 'responseCode' is not assigned and could be declared final | 3 | 205 |
| MethodArgumentCouldBeFinal | Parameter 'mapResponse' is not assigned and could be declared final | 3 | 205 |
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 | 87 |
| MethodArgumentCouldBeFinal | Parameter 'methodInjection' is not assigned and could be declared final | 3 | 99 |
| MethodArgumentCouldBeFinal | Parameter 'paramStar' is not assigned and could be declared final | 3 | 99 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) | 3 | 130 |
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 | 23–27 |
| 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 `parameterUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 29 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 30 |
| LawOfDemeter | Call to `parameterUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 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 |
| LawOfDemeter | Call to `parameterUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 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=68, TCC=16.190%) | 3 | 24 |
| CyclomaticComplexity | The class 'ParameterUtil' has a total cyclomatic complexity of 83 (highest 13). | 3 | 24 |
| TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 24–409 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isMultipartRequest' | 3 | 46 |
| AvoidFieldNameMatchingMethodName | Field isMultipartRequest has the same name as a method | 3 | 46 |
| MethodArgumentCouldBeFinal | Parameter 'injectionModel' is not assigned and could be declared final | 3 | 65 |
| UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 3 | 74 |
| CyclomaticComplexity | The method 'controlInput(String, String, String, AbstractMethodInjection, String, boolean)' has a cyclomatic complexity of 13. | 3 | 74 |
| MethodArgumentCouldBeFinal | Parameter 'urlQuery' is not assigned and could be declared final | 3 | 75 |
| MethodArgumentCouldBeFinal | Parameter 'rawRequest' is not assigned and could be declared final | 3 | 76 |
| MethodArgumentCouldBeFinal | Parameter 'rawHeader' is not assigned and could be declared final | 3 | 77 |
| MethodArgumentCouldBeFinal | Parameter 'methodInjection' is not assigned and could be declared final | 3 | 78 |
| MethodArgumentCouldBeFinal | Parameter 'typeRequest' is not assigned and could be declared final | 3 | 79 |
| MethodArgumentCouldBeFinal | Parameter 'isScanning' is not assigned and could be declared final | 3 | 80 |
| ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 88–93 |
| AvoidLiteralsInIfCondition | Avoid using literals such as 65535 in if statements | 3 | 97 |
| UseUnderscoresInNumericLiterals | Number 65535 should separate every third digit with an underscore | 3 | 97 |
| LawOfDemeter | Call to `connectionUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 114 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 114 |
| LawOfDemeter | Call to `connectionUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 115 |
| 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 | 120 |
| ExceptionAsFlowControl | Exception thrown at line 102 is caught in this block. | 3 | 122–127 |
| ExceptionAsFlowControl | Exception thrown at line 86 is caught in this block. | 3 | 122–127 |
| ExceptionAsFlowControl | Exception thrown at line 92 is caught in this block. | 3 | 122–127 |
| ExceptionAsFlowControl | Exception thrown at line 98 is caught in this block. | 3 | 122–127 |
| LawOfDemeter | Call to `connectionUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 139 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 139 |
| LawOfDemeter | Call to `connectionUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 142 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 142 |
| MethodArgumentCouldBeFinal | Parameter 'token' is not assigned and could be declared final | 3 | 150 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 154 |
| ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 177–183 |
| CyclomaticComplexity | The method 'checkStarMatchMethod()' has a cyclomatic complexity of 13. | 3 | 212 |
| LawOfDemeter | Call to `connectionUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 213 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 213 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 214 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 214 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 3 | 218 |
| LawOfDemeter | Call to `getMediatorMethod` on foreign value `this.injectionModel` (degree 1) | 3 | 218 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 3 | 224 |
| LawOfDemeter | Call to `getMediatorMethod` on foreign value `this.injectionModel` (degree 1) | 3 | 224 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 3 | 230 |
| LawOfDemeter | Call to `getMediatorMethod` on foreign value `this.injectionModel` (degree 1) | 3 | 230 |
| CyclomaticComplexity | The method 'checkMethodNotEmpty()' has a cyclomatic complexity of 12. | 3 | 237 |
| LawOfDemeter | Call to `connectionUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 238 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 238 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 239 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 239 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 3 | 242 |
| LawOfDemeter | Call to `getMediatorMethod` on foreign value `this.injectionModel` (degree 1) | 3 | 242 |
| LawOfDemeter | Call to `connectionUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 245 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 245 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 3 | 249 |
| LawOfDemeter | Call to `getMediatorMethod` on foreign value `this.injectionModel` (degree 1) | 3 | 249 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 3 | 254 |
| LawOfDemeter | Call to `getMediatorMethod` on foreign value `this.injectionModel` (degree 1) | 3 | 254 |
| MethodArgumentCouldBeFinal | Parameter 'parameterToInject' is not assigned and could be declared final | 3 | 261 |
| MethodArgumentCouldBeFinal | Parameter 'urlQuery' is not assigned and could be declared final | 3 | 272 |
| LawOfDemeter | Call to `connectionUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 283 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 283 |
| LawOfDemeter | Call to `connectionUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 284 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 284 |
| LawOfDemeter | Call to `connectionUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 293 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 293 |
| MethodArgumentCouldBeFinal | Parameter 'rawRequest' is not assigned and could be declared final | 3 | 306 |
| MethodArgumentCouldBeFinal | Parameter 'rawHeader' is not assigned and could be declared final | 3 | 328 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) | 3 | 347 |
| CompareObjectsWithEquals | Use equals() to compare object references. | 3 | 347 |
| LawOfDemeter | Call to `getMediatorStrategy` on foreign value `this.injectionModel` (degree 1) | 3 | 347 |
com/jsql/util/PreferencesUtil.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| CyclomaticComplexity | The class 'PreferencesUtil' has a total cyclomatic complexity of 136 (highest 3). | 3 | 21 |
| ExcessivePublicCount | This class has a bunch of public methods and attributes | 3 | 21 |
| TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 21–896 |
| TooManyFields | Too many fields | 3 | 21–896 |
| AvoidFieldNameMatchingMethodName | Field isCheckingUpdate has the same name as a method | 3 | 34 |
| AvoidFieldNameMatchingMethodName | Field isShowNews has the same name as a method | 3 | 35 |
| AvoidFieldNameMatchingMethodName | Field isReportingBugs has the same name as a method | 3 | 38 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'is4K' | 3 | 40 |
| AvoidFieldNameMatchingMethodName | Field is4K has the same name as a method | 3 | 40 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isFollowingRedirection' | 3 | 42 |
| AvoidFieldNameMatchingMethodName | Field isFollowingRedirection has the same name as a method | 3 | 42 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isHttp2Disabled' | 3 | 43 |
| AvoidFieldNameMatchingMethodName | Field isHttp2Disabled has the same name as a method | 3 | 43 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isNotInjectingMetadata' | 3 | 45 |
| AvoidFieldNameMatchingMethodName | Field isNotInjectingMetadata has the same name as a method | 3 | 45 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isNotSearchingCharInsertion' | 3 | 46 |
| AvoidFieldNameMatchingMethodName | Field isNotSearchingCharInsertion has the same name as a method | 3 | 46 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isNotShowingVulnReport' | 3 | 47 |
| AvoidFieldNameMatchingMethodName | Field isNotShowingVulnReport has the same name as a method | 3 | 47 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isCheckingAllParam' | 3 | 49 |
| AvoidFieldNameMatchingMethodName | Field isCheckingAllParam has the same name as a method | 3 | 49 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isCheckingAllURLParam' | 3 | 50 |
| AvoidFieldNameMatchingMethodName | Field isCheckingAllURLParam has the same name as a method | 3 | 50 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isCheckingAllRequestParam' | 3 | 51 |
| AvoidFieldNameMatchingMethodName | Field isCheckingAllRequestParam has the same name as a method | 3 | 51 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isCheckingAllHeaderParam' | 3 | 52 |
| AvoidFieldNameMatchingMethodName | Field isCheckingAllHeaderParam has the same name as a method | 3 | 52 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isCheckingAllBase64Param' | 3 | 53 |
| AvoidFieldNameMatchingMethodName | Field isCheckingAllBase64Param has the same name as a method | 3 | 53 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isCheckingAllJsonParam' | 3 | 54 |
| AvoidFieldNameMatchingMethodName | Field isCheckingAllJsonParam has the same name as a method | 3 | 54 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isCheckingAllCookieParam' | 3 | 55 |
| AvoidFieldNameMatchingMethodName | Field isCheckingAllCookieParam has the same name as a method | 3 | 55 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isCheckingAllSoapParam' | 3 | 56 |
| AvoidFieldNameMatchingMethodName | Field isCheckingAllSoapParam has the same name as a method | 3 | 56 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isPerfIndexDisabled' | 3 | 58 |
| AvoidFieldNameMatchingMethodName | Field isPerfIndexDisabled has the same name as a method | 3 | 58 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isDefaultStrategy' | 3 | 59 |
| AvoidFieldNameMatchingMethodName | Field isDefaultStrategy has the same name as a method | 3 | 59 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isZipStrategy' | 3 | 60 |
| AvoidFieldNameMatchingMethodName | Field isZipStrategy has the same name as a method | 3 | 60 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isDiosStrategy' | 3 | 61 |
| AvoidFieldNameMatchingMethodName | Field isDiosStrategy has the same name as a method | 3 | 61 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isUrlEncodingDisabled' | 3 | 62 |
| AvoidFieldNameMatchingMethodName | Field isUrlEncodingDisabled has the same name as a method | 3 | 62 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isUrlRandomSuffixDisabled' | 3 | 63 |
| AvoidFieldNameMatchingMethodName | Field isUrlRandomSuffixDisabled has the same name as a method | 3 | 63 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isParsingForm' | 3 | 65 |
| AvoidFieldNameMatchingMethodName | Field isParsingForm has the same name as a method | 3 | 65 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isNotTestingConnection' | 3 | 66 |
| AvoidFieldNameMatchingMethodName | Field isNotTestingConnection has the same name as a method | 3 | 66 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isNotProcessingCookies' | 3 | 67 |
| AvoidFieldNameMatchingMethodName | Field isNotProcessingCookies has the same name as a method | 3 | 67 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isProcessingCsrf' | 3 | 68 |
| AvoidFieldNameMatchingMethodName | Field isProcessingCsrf has the same name as a method | 3 | 68 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isTamperingBase64' | 3 | 70 |
| AvoidFieldNameMatchingMethodName | Field isTamperingBase64 has the same name as a method | 3 | 70 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isTamperingFunctionComment' | 3 | 71 |
| AvoidFieldNameMatchingMethodName | Field isTamperingFunctionComment has the same name as a method | 3 | 71 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isTamperingVersionComment' | 3 | 72 |
| AvoidFieldNameMatchingMethodName | Field isTamperingVersionComment has the same name as a method | 3 | 72 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isTamperingEqualToLike' | 3 | 73 |
| AvoidFieldNameMatchingMethodName | Field isTamperingEqualToLike has the same name as a method | 3 | 73 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isTamperingRandomCase' | 3 | 74 |
| AvoidFieldNameMatchingMethodName | Field isTamperingRandomCase has the same name as a method | 3 | 74 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isTamperingEval' | 3 | 75 |
| AvoidFieldNameMatchingMethodName | Field isTamperingEval has the same name as a method | 3 | 75 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isTamperingSpaceToMultilineComment' | 3 | 76 |
| AvoidFieldNameMatchingMethodName | Field isTamperingSpaceToMultilineComment has the same name as a method | 3 | 76 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isTamperingSpaceToDashComment' | 3 | 77 |
| AvoidFieldNameMatchingMethodName | Field isTamperingSpaceToDashComment has the same name as a method | 3 | 77 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isTamperingSpaceToSharpComment' | 3 | 78 |
| AvoidFieldNameMatchingMethodName | Field isTamperingSpaceToSharpComment has the same name as a method | 3 | 78 |
| AvoidFieldNameMatchingMethodName | Field csrfUserTag has the same name as a method | 3 | 80 |
| AvoidFieldNameMatchingMethodName | Field csrfUserTagOutput has the same name as a method | 3 | 81 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isCsrfUserTag' | 3 | 82 |
| AvoidFieldNameMatchingMethodName | Field isCsrfUserTag has the same name as a method | 3 | 82 |
| AvoidFieldNameMatchingMethodName | Field isLimitingThreads has the same name as a method | 3 | 83 |
| AvoidFieldNameMatchingMethodName | Field countLimitingThreads has the same name as a method | 3 | 84 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isConnectionTimeout' | 3 | 85 |
| AvoidFieldNameMatchingMethodName | Field isConnectionTimeout has the same name as a method | 3 | 85 |
| AvoidFieldNameMatchingMethodName | Field countConnectionTimeout has the same name as a method | 3 | 86 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isUnicodeDecodeDisabled' | 3 | 87 |
| AvoidFieldNameMatchingMethodName | Field isUnicodeDecodeDisabled has the same name as a method | 3 | 87 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isUrlDecodeDisabled' | 3 | 88 |
| AvoidFieldNameMatchingMethodName | Field isUrlDecodeDisabled has the same name as a method | 3 | 88 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isStrategyTimeDisabled' | 3 | 90 |
| AvoidFieldNameMatchingMethodName | Field isStrategyTimeDisabled has the same name as a method | 3 | 90 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isStrategyBlindBinDisabled' | 3 | 91 |
| AvoidFieldNameMatchingMethodName | Field isStrategyBlindBinDisabled has the same name as a method | 3 | 91 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isStrategyBlindBitDisabled' | 3 | 92 |
| AvoidFieldNameMatchingMethodName | Field isStrategyBlindBitDisabled has the same name as a method | 3 | 92 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isStrategyMultibitDisabled' | 3 | 93 |
| AvoidFieldNameMatchingMethodName | Field isStrategyMultibitDisabled has the same name as a method | 3 | 93 |
| AvoidFieldNameMatchingMethodName | Field isStrategyDnsDisabled has the same name as a method | 3 | 94 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isStrategyStackDisabled' | 3 | 95 |
| AvoidFieldNameMatchingMethodName | Field isStrategyStackDisabled has the same name as a method | 3 | 95 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isStrategyErrorDisabled' | 3 | 96 |
| AvoidFieldNameMatchingMethodName | Field isStrategyErrorDisabled has the same name as a method | 3 | 96 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isStrategyUnionDisabled' | 3 | 97 |
| AvoidFieldNameMatchingMethodName | Field isStrategyUnionDisabled has the same name as a method | 3 | 97 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isLimitingUnionIndex' | 3 | 99 |
| AvoidFieldNameMatchingMethodName | Field isLimitingUnionIndex has the same name as a method | 3 | 99 |
| AvoidFieldNameMatchingMethodName | Field countUnionIndex has the same name as a method | 3 | 100 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isLimitingSleepTimeStrategy' | 3 | 101 |
| AvoidFieldNameMatchingMethodName | Field isLimitingSleepTimeStrategy has the same name as a method | 3 | 101 |
| AvoidFieldNameMatchingMethodName | Field countSleepTimeStrategy has the same name as a method | 3 | 102 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isUserAgentRandom' | 3 | 106 |
| AvoidFieldNameMatchingMethodName | Field isUserAgentRandom has the same name as a method | 3 | 106 |
| RedundantFieldInitializer | Avoid using redundant field initializer for 'isUrlDecodeNetworkTab' | 3 | 107 |
| AvoidFieldNameMatchingMethodName | Field isUrlDecodeNetworkTab has the same name as a method | 3 | 107 |
| ConstructorCallsOverridableMethod | Overridable method called during object construction: PreferencesUtil.parseReverseCommands(String) | 1 | 121 |
| MethodArgumentCouldBeFinal | Parameter 'commandsReverseYaml' is not assigned and could be declared final | 3 | 127 |
| NcssCount | The method 'loadSavedPreferences()' has a NCSS line count of 65. | 3 | 142 |
| NcssCount | The method 'persist()' has a NCSS line count of 64. | 3 | 227 |
| MethodArgumentCouldBeFinal | Parameter 'path' is not assigned and could be declared final | 3 | 307 |
| MethodArgumentCouldBeFinal | Parameter 'isCheckingUpdate' is not assigned and could be declared final | 3 | 583 |
| MethodArgumentCouldBeFinal | Parameter 'isShowNews' is not assigned and could be declared final | 3 | 588 |
| MethodArgumentCouldBeFinal | Parameter 'isReportingBugs' is not assigned and could be declared final | 3 | 592 |
| MethodArgumentCouldBeFinal | Parameter 'is4K' is not assigned and could be declared final | 3 | 597 |
| MethodArgumentCouldBeFinal | Parameter 'isFollowingRedirection' is not assigned and could be declared final | 3 | 602 |
| MethodArgumentCouldBeFinal | Parameter 'isHttp2Disabled' is not assigned and could be declared final | 3 | 607 |
| MethodArgumentCouldBeFinal | Parameter 'isUnicodeDecodeDisabled' is not assigned and could be declared final | 3 | 612 |
| MethodArgumentCouldBeFinal | Parameter 'isUrlDecodeDisabled' is not assigned and could be declared final | 3 | 617 |
| MethodArgumentCouldBeFinal | Parameter 'isNotInjectingMetadata' is not assigned and could be declared final | 3 | 622 |
| MethodArgumentCouldBeFinal | Parameter 'isNotSearchingCharInsertion' is not assigned and could be declared final | 3 | 627 |
| MethodArgumentCouldBeFinal | Parameter 'isNotShowingVulnReport' is not assigned and could be declared final | 3 | 632 |
| MethodArgumentCouldBeFinal | Parameter 'isCheckingAllParam' is not assigned and could be declared final | 3 | 637 |
| MethodArgumentCouldBeFinal | Parameter 'isCheckingAllURLParam' is not assigned and could be declared final | 3 | 642 |
| MethodArgumentCouldBeFinal | Parameter 'isCheckingAllRequestParam' is not assigned and could be declared final | 3 | 647 |
| MethodArgumentCouldBeFinal | Parameter 'isCheckingAllHeaderParam' is not assigned and could be declared final | 3 | 652 |
| MethodArgumentCouldBeFinal | Parameter 'isCheckingAllBase64Param' is not assigned and could be declared final | 3 | 657 |
| MethodArgumentCouldBeFinal | Parameter 'isCheckingAllJSONParam' is not assigned and could be declared final | 3 | 662 |
| MethodArgumentCouldBeFinal | Parameter 'isCheckingAllCookieParam' is not assigned and could be declared final | 3 | 667 |
| MethodArgumentCouldBeFinal | Parameter 'isCheckingAllSOAPParam' is not assigned and could be declared final | 3 | 672 |
| MethodArgumentCouldBeFinal | Parameter 'isParsingForm' is not assigned and could be declared final | 3 | 677 |
| MethodArgumentCouldBeFinal | Parameter 'isNotTestingConnection' is not assigned and could be declared final | 3 | 682 |
| MethodArgumentCouldBeFinal | Parameter 'isNotProcessingCookies' is not assigned and could be declared final | 3 | 687 |
| MethodArgumentCouldBeFinal | Parameter 'isProcessingCsrf' is not assigned and could be declared final | 3 | 692 |
| MethodArgumentCouldBeFinal | Parameter 'isTamperingBase64' is not assigned and could be declared final | 3 | 697 |
| MethodArgumentCouldBeFinal | Parameter 'isTamperingFunctionComment' is not assigned and could be declared final | 3 | 702 |
| MethodArgumentCouldBeFinal | Parameter 'isTamperingVersionComment' is not assigned and could be declared final | 3 | 707 |
| MethodArgumentCouldBeFinal | Parameter 'isTamperingEqualToLike' is not assigned and could be declared final | 3 | 712 |
| MethodArgumentCouldBeFinal | Parameter 'isTamperingRandomCase' is not assigned and could be declared final | 3 | 717 |
| MethodArgumentCouldBeFinal | Parameter 'isTamperingEval' is not assigned and could be declared final | 3 | 722 |
| MethodArgumentCouldBeFinal | Parameter 'isTamperingSpaceToMultilineComment' is not assigned and could be declared final | 3 | 727 |
| MethodArgumentCouldBeFinal | Parameter 'isTamperingSpaceToDashComment' is not assigned and could be declared final | 3 | 732 |
| MethodArgumentCouldBeFinal | Parameter 'isTamperingSpaceToSharpComment' is not assigned and could be declared final | 3 | 737 |
| MethodArgumentCouldBeFinal | Parameter 'csrfUserTag' is not assigned and could be declared final | 3 | 742 |
| MethodArgumentCouldBeFinal | Parameter 'csrfUserTagOutput' is not assigned and could be declared final | 3 | 747 |
| MethodArgumentCouldBeFinal | Parameter 'isCsrfUserTag' is not assigned and could be declared final | 3 | 752 |
| MethodArgumentCouldBeFinal | Parameter 'isLimitingThreads' is not assigned and could be declared final | 3 | 757 |
| MethodArgumentCouldBeFinal | Parameter 'isConnectionTimeout' is not assigned and could be declared final | 3 | 762 |
| MethodArgumentCouldBeFinal | Parameter 'isLimitingSleepTimeStrategy' is not assigned and could be declared final | 3 | 767 |
| MethodArgumentCouldBeFinal | Parameter 'countLimitingThreads' is not assigned and could be declared final | 3 | 772 |
| MethodArgumentCouldBeFinal | Parameter 'countConnectionTimeout' is not assigned and could be declared final | 3 | 777 |
| MethodArgumentCouldBeFinal | Parameter 'countSleepTimeStrategy' is not assigned and could be declared final | 3 | 782 |
| MethodArgumentCouldBeFinal | Parameter 'isZipStrategy' is not assigned and could be declared final | 3 | 787 |
| MethodArgumentCouldBeFinal | Parameter 'isDefaultStrategy' is not assigned and could be declared final | 3 | 792 |
| MethodArgumentCouldBeFinal | Parameter 'isDiosStrategy' is not assigned and could be declared final | 3 | 797 |
| MethodArgumentCouldBeFinal | Parameter 'isPerfIndexDisabled' is not assigned and could be declared final | 3 | 802 |
| MethodArgumentCouldBeFinal | Parameter 'isUrlEncodingDisabled' is not assigned and could be declared final | 3 | 807 |
| MethodArgumentCouldBeFinal | Parameter 'isUrlRandomSuffixDisabled' is not assigned and could be declared final | 3 | 812 |
| MethodArgumentCouldBeFinal | Parameter 'isLimitingUnionIndex' is not assigned and could be declared final | 3 | 817 |
| MethodArgumentCouldBeFinal | Parameter 'countUnionIndex' is not assigned and could be declared final | 3 | 822 |
| MethodArgumentCouldBeFinal | Parameter 'dnsDomain' is not assigned and could be declared final | 3 | 827 |
| MethodArgumentCouldBeFinal | Parameter 'dnsPort' is not assigned and could be declared final | 3 | 832 |
| MethodArgumentCouldBeFinal | Parameter 'isStrategyTimeDisabled' is not assigned and could be declared final | 3 | 837 |
| MethodArgumentCouldBeFinal | Parameter 'isStrategyBlindBitDisabled' is not assigned and could be declared final | 3 | 842 |
| MethodArgumentCouldBeFinal | Parameter 'isStrategyBlindBinDisabled' is not assigned and could be declared final | 3 | 847 |
| MethodArgumentCouldBeFinal | Parameter 'isStrategyMultibitDisabled' is not assigned and could be declared final | 3 | 852 |
| MethodArgumentCouldBeFinal | Parameter 'isStrategyStackDisabled' is not assigned and could be declared final | 3 | 857 |
| MethodArgumentCouldBeFinal | Parameter 'isStrategyDnsDisabled' is not assigned and could be declared final | 3 | 862 |
| MethodArgumentCouldBeFinal | Parameter 'isStrategyErrorDisabled' is not assigned and could be declared final | 3 | 867 |
| MethodArgumentCouldBeFinal | Parameter 'isStrategyUnionDisabled' is not assigned and could be declared final | 3 | 872 |
| MethodArgumentCouldBeFinal | Parameter 'themeFlatLafName' is not assigned and could be declared final | 3 | 877 |
| MethodArgumentCouldBeFinal | Parameter 'isUrlDecodeNetworkTab' is not assigned and could be declared final | 3 | 882 |
| MethodArgumentCouldBeFinal | Parameter 'languageTag' is not assigned and could be declared final | 3 | 887 |
| MethodArgumentCouldBeFinal | Parameter 'selected' is not assigned and could be declared final | 3 | 892 |
com/jsql/util/PropertiesUtil.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UseProperClassLoader | In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. | 3 | 29 |
| MethodArgumentCouldBeFinal | Parameter 'newLocale' is not assigned and could be declared final | 3 | 40 |
| MethodArgumentCouldBeFinal | Parameter 'name' is not assigned and could be declared final | 3 | 64 |
| MethodArgumentCouldBeFinal | Parameter 'property' is not assigned and could be declared final | 3 | 87 |
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 | 36–40 |
| 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 `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 43 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 44 |
| LawOfDemeter | Call to `parameterUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 44 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 47 |
| LawOfDemeter | Call to `parameterUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 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 `parameterUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 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 | 135–137 |
com/jsql/util/StringUtil.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| GodClass | Possible God Class (WMC=59, ATFD=13, TCC=0.000%) | 3 | 38 |
| TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 38–346 |
| MethodArgumentCouldBeFinal | Parameter 'c' is not assigned and could be declared final | 3 | 54 |
| MethodArgumentCouldBeFinal | Parameter 'buff' is not assigned and could be declared final | 3 | 54 |
| MethodArgumentCouldBeFinal | Parameter 'text' is not assigned and could be declared final | 3 | 70 |
| MethodArgumentCouldBeFinal | Parameter 'text' is not assigned and could be declared final | 3 | 79 |
| AvoidLiteralsInIfCondition | Avoid using literals such as 128 in if statements | 3 | 82 |
| MethodArgumentCouldBeFinal | Parameter 'hex' is not assigned and could be declared final | 3 | 96 |
| MethodArgumentCouldBeFinal | Parameter 'text' is not assigned and could be declared final | 3 | 104 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 106 |
| MethodArgumentCouldBeFinal | Parameter 'text' is not assigned and could be declared final | 3 | 115 |
| SimplifyBooleanReturns | This if statement can be replaced by `return !{condition} && {elseBranch};` | 3 | 116–118 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 117 |
| MethodArgumentCouldBeFinal | Parameter 's' is not assigned and could be declared final | 3 | 126 |
| MethodArgumentCouldBeFinal | Parameter 's' is not assigned and could be declared final | 3 | 131 |
| MethodArgumentCouldBeFinal | Parameter 's' is not assigned and could be declared final | 3 | 136 |
| MethodArgumentCouldBeFinal | Parameter 's' is not assigned and could be declared final | 3 | 140 |
| MethodArgumentCouldBeFinal | Parameter 's' is not assigned and could be declared final | 3 | 144 |
| MethodArgumentCouldBeFinal | Parameter 's' is not assigned and could be declared final | 3 | 149 |
| 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 | 158 |
| MethodArgumentCouldBeFinal | Parameter 'text' is not assigned and could be declared final | 3 | 162 |
| MethodArgumentCouldBeFinal | Parameter 'text' is not assigned and could be declared final | 3 | 166 |
| MethodArgumentCouldBeFinal | Parameter 'text' is not assigned and could be declared final | 3 | 171 |
| MethodArgumentCouldBeFinal | Parameter 'text' is not assigned and could be declared final | 3 | 176 |
| MethodArgumentCouldBeFinal | Parameter 'text' is not assigned and could be declared final | 3 | 180 |
| RelianceOnDefaultCharset | Specify a character set instead of relying on the default charset | 3 | 181 |
| MethodArgumentCouldBeFinal | Parameter 'text' is not assigned and could be declared final | 3 | 184 |
| MethodArgumentCouldBeFinal | Parameter 'text' is not assigned and could be declared final | 3 | 189 |
| MethodArgumentCouldBeFinal | Parameter 'text' is not assigned and could be declared final | 3 | 193 |
| MethodArgumentCouldBeFinal | Parameter 'text' is not assigned and could be declared final | 3 | 197 |
| MethodArgumentCouldBeFinal | Parameter 'text' is not assigned and could be declared final | 3 | 201 |
| MethodArgumentCouldBeFinal | Parameter 'query' is not assigned and could be declared final | 3 | 205 |
| MethodArgumentCouldBeFinal | Parameter 'query' is not assigned and could be declared final | 3 | 218 |
| MethodArgumentCouldBeFinal | Parameter 'color' is not assigned and could be declared final | 3 | 225 |
| 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 | 238 |
| RelianceOnDefaultCharset | Specify a character set instead of relying on the default charset | 3 | 241 |
| MethodArgumentCouldBeFinal | Parameter 'compressedTxt' is not assigned and could be declared final | 3 | 246 |
| MethodArgumentCouldBeFinal | Parameter 'hexString' is not assigned and could be declared final | 3 | 254 |
| MethodArgumentCouldBeFinal | Parameter 'hexChar' is not assigned and could be declared final | 3 | 260 |
| MethodArgumentCouldBeFinal | Parameter 'num' is not assigned and could be declared final | 3 | 268 |
| MethodArgumentCouldBeFinal | Parameter 'byteArray' is not assigned and could be declared final | 3 | 275 |
| MethodArgumentCouldBeFinal | Parameter 'hexString' is not assigned and could be declared final | 3 | 283 |
| AvoidLiteralsInIfCondition | Avoid using literals such as 1 in if statements | 3 | 284 |
| MethodArgumentCouldBeFinal | Parameter 'string' is not assigned and could be declared final | 3 | 294 |
| MethodArgumentCouldBeFinal | Parameter 'bytes' is not assigned and could be declared final | 3 | 298 |
| MethodArgumentCouldBeFinal | Parameter 'plaintext' is not assigned and could be declared final | 3 | 302 |
| MethodArgumentCouldBeFinal | Parameter 'key' is not assigned and could be declared final | 3 | 302 |
| MethodArgumentCouldBeFinal | Parameter 'fileData' is not assigned and could be declared final | 3 | 310 |
| MethodArgumentCouldBeFinal | Parameter 'path' is not assigned and could be declared final | 3 | 324 |
| UseProperClassLoader | In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. | 3 | 327 |
| AssignmentInOperand | Avoid assignment to line in operand | 3 | 332 |
| AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 3 | 333 |
| MethodArgumentCouldBeFinal | Parameter 'fileData' is not assigned and could be declared final | 3 | 341 |
| UseUnderscoresInNumericLiterals | Number 353837730 should separate every third digit with an underscore | 3 | 342 |
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 | 14–276 |
| 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 | 52–59 |
| 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 | 91 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 91 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 92 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 92 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 3 | 93 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 3 | 95 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 3 | 100 |
| MethodArgumentCouldBeFinal | Parameter 'taskExecutor' is not assigned and could be declared final | 3 | 100 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 102 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 102 |
| LawOfDemeter | Call to `getMediatorUtils` on foreign value `this.injectionModel` (degree 1) | 3 | 103 |
| LawOfDemeter | Call to `preferencesUtil` on foreign value `this.injectionModel.getMediatorUtils()` (degree 2) | 3 | 103 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 3 | 106 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 3 | 107 |
| 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 | 112 |
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 | 15 |
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 3 | 21 |
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 3 | 27 |
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 3 | 33 |
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 3 | 39 |
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 3 | 45 |
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 3 | 51 |
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 3 | 57 |
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 3 | 63 |
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 3 | 69 |
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 3 | 75 |
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 3 | 81 |
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 3 | 87 |
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 3 | 93 |
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 3 | 99 |
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 3 | 105 |
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 3 | 111 |
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 3 | 117 |
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 3 | 123 |
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 3 | 129 |
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 3 | 135 |
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 3 | 141 |
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 3 | 147 |
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 3 | 153 |
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 3 | 159 |
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 3 | 165 |
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 3 | 171 |
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 3 | 177 |
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 3 | 183 |
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 3 | 189 |
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 3 | 195 |
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 3 | 201 |
| MethodArgumentCouldBeFinal | Parameter 'value' is not assigned and could be declared final | 3 | 207 |
| MethodArgumentCouldBeFinal | Parameter 'name' is not assigned and could be declared final | 3 | 219 |
| MethodArgumentCouldBeFinal | Parameter 'name' is not assigned and could be declared final | 3 | 222 |
| MethodArgumentCouldBeFinal | Parameter 'isHash' is not assigned and could be declared final | 3 | 222 |
| MethodArgumentCouldBeFinal | Parameter 'name' is not assigned and could be declared final | 3 | 225 |
| MethodArgumentCouldBeFinal | Parameter 'isHash' is not assigned and could be declared final | 3 | 225 |
| MethodArgumentCouldBeFinal | Parameter 'isEmptyPossible' is not assigned and could be declared final | 3 | 225 |
| MethodArgumentCouldBeFinal | Parameter 'name' is not assigned and could be declared final | 3 | 245 |
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 12. | 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 |
| AvoidLiteralsInIfCondition | Avoid using literals such as 128 in if statements | 3 | 72 |
| 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 |
| CyclomaticComplexity | The method 'generateAllPossibleCombinations(String, int)' has a cyclomatic complexity of 13. | 3 | 35 |
| MethodArgumentCouldBeFinal | Parameter 'baseString' is not assigned and could be declared final | 3 | 35 |
| MethodArgumentCouldBeFinal | Parameter 'length' is not assigned and could be declared final | 3 | 35 |
| UseLocaleWithCaseConversions | When doing a String.toLowerCase()/toUpperCase() call, use a Locale | 3 | 38 |
| MethodArgumentCouldBeFinal | Parameter 'hash' is not assigned and could be declared final | 3 | 69 |
| MethodArgumentCouldBeFinal | Parameter 'digestType' is not assigned and could be declared final | 3 | 73 |
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/subscriber/AbstractSubscriber.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| AtLeastOneConstructor | Each class should declare at least one constructor | 3 | 11 |
| MethodArgumentCouldBeFinal | Parameter 'subscription' is not assigned and could be declared final | 3 | 18 |
| MethodArgumentCouldBeFinal | Parameter 'request' is not assigned and could be declared final | 3 | 24 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 3 | 28 |
| DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 3 | 30 |
| MethodArgumentCouldBeFinal | Parameter 'e' is not assigned and could be declared final | 3 | 38 |
| EmptyMethodInAbstractClassShouldBeAbstract | An empty method in an abstract class should be abstract instead | 1 | 43 |
com/jsql/view/subscriber/Seal.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| ShortClassName | Avoid short class names like Seal | 4 | 15 |
| MethodArgumentCouldBeFinal | Parameter 'o' is not assigned and could be declared final | 3 | 57 |
| OnlyOneReturn | A method should have only one exit point, and that should be the last statement in the method | 3 | 58 |
| ControlStatementBraces | This statement should have braces | 3 | 58 |
| MethodArgumentCouldBeFinal | Parameter 'strategy' is not assigned and could be declared final | 3 | 83 |
| MethodArgumentCouldBeFinal | Parameter 'strategy' is not assigned and could be declared final | 3 | 88 |
| NPathComplexity | The constructor 'MessageHeader(String, String, Map<String, String>, Map<String, String>, String, String, String, String, AbstractCallableBit<?>)' has an NPath complexity of 256, current threshold is 200 | 3 | 110 |
| MethodArgumentCouldBeFinal | Parameter 'url' is not assigned and could be declared final | 3 | 111 |
| MethodArgumentCouldBeFinal | Parameter 'post' is not assigned and could be declared final | 3 | 112 |
| MethodArgumentCouldBeFinal | Parameter 'header' is not assigned and could be declared final | 3 | 113 |
| MethodArgumentCouldBeFinal | Parameter 'response' is not assigned and could be declared final | 3 | 114 |
| MethodArgumentCouldBeFinal | Parameter 'source' is not assigned and could be declared final | 3 | 115 |
| MethodArgumentCouldBeFinal | Parameter 'size' is not assigned and could be declared final | 3 | 116 |
| MethodArgumentCouldBeFinal | Parameter 'metadataStrategy' is not assigned and could be declared final | 3 | 117 |
| MethodArgumentCouldBeFinal | Parameter 'metadataProcess' is not assigned and could be declared final | 3 | 118 |
| MethodArgumentCouldBeFinal | Parameter 'metadataBoolean' is not assigned and could be declared final | 3 | 119 |
com/jsql/view/subscriber/SubscriberLogger.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| MethodArgumentCouldBeFinal | Parameter 'model' is not assigned and could be declared final | 3 | 27 |
| MethodArgumentCouldBeFinal | Parameter 'request' is not assigned and could be declared final | 3 | 32 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.model` (degree 1) | 3 | 44 |
| LawOfDemeter | Call to `getMediatorEngine` on foreign value `this.model` (degree 1) | 3 | 53 |