PMD Results

The following document contains the results of PMD 7.17.0.

Violations By Priority

Priority 3

io/github/mangila/ensure4j/Ensure.java
Rule Violation Line
CommentSize Comment is too large: Line too long 11
TooManyMethods This class has too many methods, consider refactoring it. 15170
CommentRequired Field comments are required 17
CommentRequired Field comments are required 18
CommentRequired Field comments are required 19
CommentRequired Field comments are required 20
CommentRequired Field comments are required 21
CommentRequired Field comments are required 22
CommentRequired Field comments are required 23
CommentRequired Field comments are required 24
MethodArgumentCouldBeFinal Parameter 'object' is not assigned and could be declared final 81
MethodArgumentCouldBeFinal Parameter 'fallbackSupplier' is not assigned and could be declared final 81
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 81
MethodArgumentCouldBeFinal Parameter 'object' is not assigned and could be declared final 88
MethodArgumentCouldBeFinal Parameter 'defaultObject' is not assigned and could be declared final 88
MethodArgumentCouldBeFinal Parameter 'object' is not assigned and could be declared final 96
LongVariable Avoid excessively long variable names like runtimeExceptionSupplier 96
MethodArgumentCouldBeFinal Parameter 'runtimeExceptionSupplier' is not assigned and could be declared final 96
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception RuntimeException in its 'throws' clause 96
MethodArgumentCouldBeFinal Parameter 'object' is not assigned and could be declared final 104
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception RuntimeException in its 'throws' clause 104
MethodArgumentCouldBeFinal Parameter 'object' is not assigned and could be declared final 111
LongVariable Avoid excessively long variable names like runtimeExceptionSupplier 111
MethodArgumentCouldBeFinal Parameter 'runtimeExceptionSupplier' is not assigned and could be declared final 111
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception RuntimeException in its 'throws' clause 111
MethodArgumentCouldBeFinal Parameter 'object' is not assigned and could be declared final 118
MethodArgumentCouldBeFinal Parameter 'message' is not assigned and could be declared final 118
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 118
MethodArgumentCouldBeFinal Parameter 'object' is not assigned and could be declared final 125
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 125
MethodArgumentCouldBeFinal Parameter 'expression' is not assigned and could be declared final 132
LongVariable Avoid excessively long variable names like runtimeExceptionSupplier 132
MethodArgumentCouldBeFinal Parameter 'runtimeExceptionSupplier' is not assigned and could be declared final 132
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception RuntimeException in its 'throws' clause 132
MethodArgumentCouldBeFinal Parameter 'expression' is not assigned and could be declared final 139
MethodArgumentCouldBeFinal Parameter 'exceptionMessage' is not assigned and could be declared final 139
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 139
MethodArgumentCouldBeFinal Parameter 'expression' is not assigned and could be declared final 146
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 146
MethodArgumentCouldBeFinal Parameter 'expression' is not assigned and could be declared final 153
LongVariable Avoid excessively long variable names like runtimeExceptionSupplier 153
MethodArgumentCouldBeFinal Parameter 'runtimeExceptionSupplier' is not assigned and could be declared final 153
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception RuntimeException in its 'throws' clause 153
MethodArgumentCouldBeFinal Parameter 'expression' is not assigned and could be declared final 160
MethodArgumentCouldBeFinal Parameter 'exceptionMessage' is not assigned and could be declared final 160
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 160
MethodArgumentCouldBeFinal Parameter 'expression' is not assigned and could be declared final 167
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 167
io/github/mangila/ensure4j/EnsureException.java
Rule Violation Line
CommentSize Comment is too large: Line too long 4
CommentSize Comment is too large: Line too long 5
CommentSize Comment is too large: Line too long 7
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 10
MethodArgumentCouldBeFinal Parameter 'message' is not assigned and could be declared final 17
CommentSize Comment is too large: Line too long 25
ShortMethodName Avoid using short method names 27
MethodArgumentCouldBeFinal Parameter 'message' is not assigned and could be declared final 27
io/github/mangila/ensure4j/internal/EnsureUtils.java
Rule Violation Line
CommentSize Comment is too large: Line too long 18
MethodArgumentCouldBeFinal Parameter 'string' is not assigned and could be declared final 24
MethodArgumentCouldBeFinal Parameter 'object' is not assigned and could be declared final 34
CommentSize Comment is too large: Too many lines 3846
CommentSize Comment is too large: Line too long 39
CommentSize Comment is too large: Line too long 43
MethodArgumentCouldBeFinal Parameter 'supplier' is not assigned and could be declared final 48
ShortVariable Avoid variables with short names like t 52
io/github/mangila/ensure4j/internal/package-info.java
Rule Violation Line
CommentSize Comment is too large: Too many lines 120
CommentSize Comment is too large: Line too long 5
CommentSize Comment is too large: Line too long 6
CommentSize Comment is too large: Line too long 7
CommentSize Comment is too large: Line too long 12
CommentSize Comment is too large: Line too long 13
CommentSize Comment is too large: Line too long 17
CommentSize Comment is too large: Line too long 18
io/github/mangila/ensure4j/ops/EnsureArrayOps.java
Rule Violation Line
CommentSize Comment is too large: Line too long 12
CommentSize Comment is too large: Too many lines 1727
CommentSize Comment is too large: Line too long 24
MethodArgumentCouldBeFinal Parameter 'array' is not assigned and could be declared final 28
MethodArgumentCouldBeFinal Parameter 'exceptionMessage' is not assigned and could be declared final 28
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 28
CommentSize Comment is too large: Too many lines 3240
CommentSize Comment is too large: Line too long 33
CommentSize Comment is too large: Line too long 39
MethodArgumentCouldBeFinal Parameter 'array' is not assigned and could be declared final 41
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 41
CommentSize Comment is too large: Too many lines 4555
CommentSize Comment is too large: Line too long 52
MethodArgumentCouldBeFinal Parameter 'array' is not assigned and could be declared final 56
LongVariable Avoid excessively long variable names like runtimeExceptionSupplier 56
MethodArgumentCouldBeFinal Parameter 'runtimeExceptionSupplier' is not assigned and could be declared final 56
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception RuntimeException in its 'throws' clause 56
io/github/mangila/ensure4j/ops/EnsureBooleanOps.java
Rule Violation Line
CommentSize Comment is too large: Line too long 11
CommentSize Comment is too large: Too many lines 1624
CommentSize Comment is too large: Line too long 17
CommentSize Comment is too large: Line too long 21
CommentSize Comment is too large: Line too long 23
MethodArgumentCouldBeFinal Parameter 'expression' is not assigned and could be declared final 25
LongVariable Avoid excessively long variable names like runtimeExceptionSupplier 26
MethodArgumentCouldBeFinal Parameter 'runtimeExceptionSupplier' is not assigned and could be declared final 26
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception RuntimeException in its 'throws' clause 26
CommentSize Comment is too large: Line too long 33
CommentSize Comment is too large: Line too long 37
MethodArgumentCouldBeFinal Parameter 'expression' is not assigned and could be declared final 40
MethodArgumentCouldBeFinal Parameter 'exceptionMessage' is not assigned and could be declared final 40
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 40
CommentSize Comment is too large: Line too long 49
MethodArgumentCouldBeFinal Parameter 'expression' is not assigned and could be declared final 51
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 51
CommentSize Comment is too large: Too many lines 5563
CommentSize Comment is too large: Line too long 56
CommentSize Comment is too large: Line too long 60
CommentSize Comment is too large: Line too long 62
MethodArgumentCouldBeFinal Parameter 'expression' is not assigned and could be declared final 64
LongVariable Avoid excessively long variable names like runtimeExceptionSupplier 65
MethodArgumentCouldBeFinal Parameter 'runtimeExceptionSupplier' is not assigned and could be declared final 65
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception RuntimeException in its 'throws' clause 65
CommentSize Comment is too large: Line too long 76
MethodArgumentCouldBeFinal Parameter 'expression' is not assigned and could be declared final 79
MethodArgumentCouldBeFinal Parameter 'exceptionMessage' is not assigned and could be declared final 79
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 79
CommentSize Comment is too large: Line too long 88
MethodArgumentCouldBeFinal Parameter 'expression' is not assigned and could be declared final 90
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 90
io/github/mangila/ensure4j/ops/EnsureCollectionOps.java
Rule Violation Line
CommentSize Comment is too large: Line too long 13
CommentSize Comment is too large: Too many lines 1829
CommentSize Comment is too large: Line too long 19
CommentSize Comment is too large: Line too long 23
CommentSize Comment is too large: Line too long 25
MethodArgumentCouldBeFinal Parameter 'collection' is not assigned and could be declared final 30
MethodArgumentCouldBeFinal Parameter 'element' is not assigned and could be declared final 30
LongVariable Avoid excessively long variable names like runtimeExceptionSupplier 30
MethodArgumentCouldBeFinal Parameter 'runtimeExceptionSupplier' is not assigned and could be declared final 30
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception RuntimeException in its 'throws' clause 30
CommentSize Comment is too large: Too many lines 3747
CommentSize Comment is too large: Line too long 39
CommentSize Comment is too large: Line too long 44
MethodArgumentCouldBeFinal Parameter 'collection' is not assigned and could be declared final 48
MethodArgumentCouldBeFinal Parameter 'element' is not assigned and could be declared final 48
MethodArgumentCouldBeFinal Parameter 'exceptionMessage' is not assigned and could be declared final 48
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception RuntimeException in its 'throws' clause 48
CommentSize Comment is too large: Too many lines 5261
CommentSize Comment is too large: Line too long 60
MethodArgumentCouldBeFinal Parameter 'collection' is not assigned and could be declared final 62
MethodArgumentCouldBeFinal Parameter 'element' is not assigned and could be declared final 62
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception RuntimeException in its 'throws' clause 62
CommentSize Comment is too large: Too many lines 6678
CommentSize Comment is too large: Line too long 68
CommentSize Comment is too large: Line too long 70
CommentSize Comment is too large: Line too long 75
MethodArgumentCouldBeFinal Parameter 'collection' is not assigned and could be declared final 79
LongVariable Avoid excessively long variable names like runtimeExceptionSupplier 79
MethodArgumentCouldBeFinal Parameter 'runtimeExceptionSupplier' is not assigned and could be declared final 79
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 79
LocalVariableCouldBeFinal Local variable 'element' could be declared final 83
CommentSize Comment is too large: Too many lines 91102
CommentSize Comment is too large: Line too long 94
CommentSize Comment is too large: Line too long 99
MethodArgumentCouldBeFinal Parameter 'collection' is not assigned and could be declared final 103
MethodArgumentCouldBeFinal Parameter 'exceptionMessage' is not assigned and could be declared final 103
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 103
CommentSize Comment is too large: Too many lines 107117
CommentSize Comment is too large: Line too long 110
CommentSize Comment is too large: Line too long 116
MethodArgumentCouldBeFinal Parameter 'collection' is not assigned and could be declared final 118
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 118
CommentSize Comment is too large: Too many lines 122134
CommentSize Comment is too large: Line too long 124
CommentSize Comment is too large: Line too long 126
CommentSize Comment is too large: Line too long 131
MethodArgumentCouldBeFinal Parameter 'collection' is not assigned and could be declared final 135
LongVariable Avoid excessively long variable names like runtimeExceptionSupplier 135
MethodArgumentCouldBeFinal Parameter 'runtimeExceptionSupplier' is not assigned and could be declared final 135
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception RuntimeException in its 'throws' clause 135
CommentSize Comment is too large: Too many lines 142153
CommentSize Comment is too large: Line too long 145
CommentSize Comment is too large: Line too long 150
MethodArgumentCouldBeFinal Parameter 'collection' is not assigned and could be declared final 154
MethodArgumentCouldBeFinal Parameter 'exceptionMessage' is not assigned and could be declared final 154
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 154
CommentSize Comment is too large: Too many lines 158168
CommentSize Comment is too large: Line too long 161
CommentSize Comment is too large: Line too long 167
MethodArgumentCouldBeFinal Parameter 'collection' is not assigned and could be declared final 169
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 169
CommentSize Comment is too large: Too many lines 173183
CommentSize Comment is too large: Line too long 176
CommentSize Comment is too large: Line too long 180
MethodArgumentCouldBeFinal Parameter 'collection' is not assigned and could be declared final 184
LongVariable Avoid excessively long variable names like runtimeExceptionSupplier 184
MethodArgumentCouldBeFinal Parameter 'runtimeExceptionSupplier' is not assigned and could be declared final 184
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception RuntimeException in its 'throws' clause 184
CommentSize Comment is too large: Too many lines 191201
CommentSize Comment is too large: Line too long 194
MethodArgumentCouldBeFinal Parameter 'collection' is not assigned and could be declared final 202
MethodArgumentCouldBeFinal Parameter 'exceptionMessage' is not assigned and could be declared final 202
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 202
CommentSize Comment is too large: Too many lines 206215
CommentSize Comment is too large: Line too long 209
CommentSize Comment is too large: Line too long 214
MethodArgumentCouldBeFinal Parameter 'collection' is not assigned and could be declared final 216
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 216
io/github/mangila/ensure4j/ops/EnsureMapOps.java
Rule Violation Line
CommentSize Comment is too large: Line too long 13
CommentSize Comment is too large: Too many lines 1828
CommentSize Comment is too large: Line too long 20
CommentSize Comment is too large: Line too long 24
MethodArgumentCouldBeFinal Parameter 'map' is not assigned and could be declared final 29
LongVariable Avoid excessively long variable names like runtimeExceptionSupplier 29
MethodArgumentCouldBeFinal Parameter 'runtimeExceptionSupplier' is not assigned and could be declared final 29
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception RuntimeException in its 'throws' clause 29
CommentSize Comment is too large: Too many lines 3645
CommentSize Comment is too large: Line too long 42
MethodArgumentCouldBeFinal Parameter 'map' is not assigned and could be declared final 46
MethodArgumentCouldBeFinal Parameter 'exceptionMessage' is not assigned and could be declared final 46
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 46
CommentSize Comment is too large: Too many lines 5058
CommentSize Comment is too large: Line too long 57
MethodArgumentCouldBeFinal Parameter 'map' is not assigned and could be declared final 59
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 59
io/github/mangila/ensure4j/ops/EnsureNullOps.java
Rule Violation Line
CommentSize Comment is too large: Line too long 12
CommentSize Comment is too large: Too many lines 1726
CommentSize Comment is too large: Line too long 18
CommentSize Comment is too large: Line too long 19
CommentSize Comment is too large: Line too long 23
CommentSize Comment is too large: Line too long 24
CommentSize Comment is too large: Line too long 25
MethodArgumentCouldBeFinal Parameter 'object' is not assigned and could be declared final 27
MethodArgumentCouldBeFinal Parameter 'fallbackSupplier' is not assigned and could be declared final 27
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 27
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 29
CommentSize Comment is too large: Line too long 35
MethodArgumentCouldBeFinal Parameter 'object' is not assigned and could be declared final 42
MethodArgumentCouldBeFinal Parameter 'defaultObject' is not assigned and could be declared final 42
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 44
CommentSize Comment is too large: Too many lines 4959
CommentSize Comment is too large: Line too long 50
CommentSize Comment is too large: Line too long 55
CommentSize Comment is too large: Line too long 57
MethodArgumentCouldBeFinal Parameter 'object' is not assigned and could be declared final 61
LongVariable Avoid excessively long variable names like runtimeExceptionSupplier 61
MethodArgumentCouldBeFinal Parameter 'runtimeExceptionSupplier' is not assigned and could be declared final 61
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception RuntimeException in its 'throws' clause 61
CommentSize Comment is too large: Too many lines 6574
CommentSize Comment is too large: Line too long 66
CommentSize Comment is too large: Line too long 72
MethodArgumentCouldBeFinal Parameter 'object' is not assigned and could be declared final 76
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception RuntimeException in its 'throws' clause 76
CommentSize Comment is too large: Too many lines 8089
CommentSize Comment is too large: Line too long 81
CommentSize Comment is too large: Line too long 86
CommentSize Comment is too large: Line too long 88
MethodArgumentCouldBeFinal Parameter 'object' is not assigned and could be declared final 90
LongVariable Avoid excessively long variable names like runtimeExceptionSupplier 90
MethodArgumentCouldBeFinal Parameter 'runtimeExceptionSupplier' is not assigned and could be declared final 90
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception RuntimeException in its 'throws' clause 90
CommentSize Comment is too large: Too many lines 97106
CommentSize Comment is too large: Line too long 98
MethodArgumentCouldBeFinal Parameter 'object' is not assigned and could be declared final 107
MethodArgumentCouldBeFinal Parameter 'message' is not assigned and could be declared final 107
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 107
CommentSize Comment is too large: Line too long 112
CommentSize Comment is too large: Line too long 117
MethodArgumentCouldBeFinal Parameter 'object' is not assigned and could be declared final 119
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 119
io/github/mangila/ensure4j/ops/EnsureNumberOps.java
Rule Violation Line
CommentSize Comment is too large: Line too long 11
CommentSize Comment is too large: Too many lines 1625
CommentSize Comment is too large: Line too long 22
MethodArgumentCouldBeFinal Parameter 'boundary' is not assigned and could be declared final 26
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 26
LongVariable Avoid excessively long variable names like runtimeExceptionSupplier 26
MethodArgumentCouldBeFinal Parameter 'runtimeExceptionSupplier' is not assigned and could be declared final 26
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception RuntimeException in its 'throws' clause 26
CommentSize Comment is too large: Too many lines 3342
CommentSize Comment is too large: Line too long 35
CommentSize Comment is too large: Line too long 39
MethodArgumentCouldBeFinal Parameter 'boundary' is not assigned and could be declared final 43
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 43
MethodArgumentCouldBeFinal Parameter 'exceptionMessage' is not assigned and could be declared final 43
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 43
CommentSize Comment is too large: Line too long 48
CommentSize Comment is too large: Line too long 53
MethodArgumentCouldBeFinal Parameter 'boundary' is not assigned and could be declared final 55
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 55
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 55
CommentSize Comment is too large: Too many lines 5967
CommentSize Comment is too large: Line too long 60
CommentSize Comment is too large: Line too long 64
MethodArgumentCouldBeFinal Parameter 'boundary' is not assigned and could be declared final 68
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 68
LongVariable Avoid excessively long variable names like runtimeExceptionSupplier 68
MethodArgumentCouldBeFinal Parameter 'runtimeExceptionSupplier' is not assigned and could be declared final 68
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception RuntimeException in its 'throws' clause 68
CommentSize Comment is too large: Too many lines 7584
CommentSize Comment is too large: Line too long 76
CommentSize Comment is too large: Line too long 81
MethodArgumentCouldBeFinal Parameter 'boundary' is not assigned and could be declared final 85
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 85
MethodArgumentCouldBeFinal Parameter 'exceptionMessage' is not assigned and could be declared final 85
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 85
CommentSize Comment is too large: Line too long 90
CommentSize Comment is too large: Line too long 95
MethodArgumentCouldBeFinal Parameter 'boundary' is not assigned and could be declared final 97
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 97
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 97
CommentSize Comment is too large: Too many lines 101111
CommentSize Comment is too large: Line too long 102
CommentSize Comment is too large: Line too long 108
CommentSize Comment is too large: Line too long 110
MethodArgumentCouldBeFinal Parameter 'boundary' is not assigned and could be declared final 112
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 112
LongVariable Avoid excessively long variable names like runtimeExceptionSupplier 112
MethodArgumentCouldBeFinal Parameter 'runtimeExceptionSupplier' is not assigned and could be declared final 112
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception RuntimeException in its 'throws' clause 112
CommentSize Comment is too large: Too many lines 119128
CommentSize Comment is too large: Line too long 121
CommentSize Comment is too large: Line too long 125
MethodArgumentCouldBeFinal Parameter 'boundary' is not assigned and could be declared final 129
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 129
MethodArgumentCouldBeFinal Parameter 'exceptionMessage' is not assigned and could be declared final 129
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 129
CommentSize Comment is too large: Too many lines 133141
CommentSize Comment is too large: Line too long 140
MethodArgumentCouldBeFinal Parameter 'boundary' is not assigned and could be declared final 142
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 142
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 142
CommentSize Comment is too large: Too many lines 146154
CommentSize Comment is too large: Line too long 147
CommentSize Comment is too large: Line too long 151
CommentSize Comment is too large: Line too long 152
CommentSize Comment is too large: Line too long 153
MethodArgumentCouldBeFinal Parameter 'boundary' is not assigned and could be declared final 155
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 155
LongVariable Avoid excessively long variable names like runtimeExceptionSupplier 155
MethodArgumentCouldBeFinal Parameter 'runtimeExceptionSupplier' is not assigned and could be declared final 155
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception RuntimeException in its 'throws' clause 155
CommentSize Comment is too large: Too many lines 162171
CommentSize Comment is too large: Line too long 163
CommentSize Comment is too large: Line too long 168
CommentSize Comment is too large: Line too long 169
MethodArgumentCouldBeFinal Parameter 'boundary' is not assigned and could be declared final 172
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 172
MethodArgumentCouldBeFinal Parameter 'exceptionMessage' is not assigned and could be declared final 172
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 172
CommentSize Comment is too large: Line too long 177
CommentSize Comment is too large: Line too long 182
MethodArgumentCouldBeFinal Parameter 'boundary' is not assigned and could be declared final 184
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 184
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 184
CommentSize Comment is too large: Line too long 192
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 196
LongVariable Avoid excessively long variable names like runtimeExceptionSupplier 196
MethodArgumentCouldBeFinal Parameter 'runtimeExceptionSupplier' is not assigned and could be declared final 196
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception RuntimeException in its 'throws' clause 196
CommentSize Comment is too large: Line too long 207
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 211
MethodArgumentCouldBeFinal Parameter 'exceptionMessage' is not assigned and could be declared final 211
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 211
CommentSize Comment is too large: Line too long 220
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 222
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 222
CommentSize Comment is too large: Line too long 230
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 234
LongVariable Avoid excessively long variable names like runtimeExceptionSupplier 234
MethodArgumentCouldBeFinal Parameter 'runtimeExceptionSupplier' is not assigned and could be declared final 234
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception RuntimeException in its 'throws' clause 234
CommentSize Comment is too large: Line too long 245
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 249
MethodArgumentCouldBeFinal Parameter 'exceptionMessage' is not assigned and could be declared final 249
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 249
CommentSize Comment is too large: Line too long 258
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 260
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 260
CommentSize Comment is too large: Line too long 268
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 272
LongVariable Avoid excessively long variable names like runtimeExceptionSupplier 272
MethodArgumentCouldBeFinal Parameter 'runtimeExceptionSupplier' is not assigned and could be declared final 272
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception RuntimeException in its 'throws' clause 272
CommentSize Comment is too large: Line too long 283
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 287
MethodArgumentCouldBeFinal Parameter 'exceptionMessage' is not assigned and could be declared final 287
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 287
CommentSize Comment is too large: Line too long 296
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 298
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 298
CommentSize Comment is too large: Line too long 306
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 310
LongVariable Avoid excessively long variable names like runtimeExceptionSupplier 310
MethodArgumentCouldBeFinal Parameter 'runtimeExceptionSupplier' is not assigned and could be declared final 310
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception RuntimeException in its 'throws' clause 310
CommentSize Comment is too large: Line too long 321
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 325
MethodArgumentCouldBeFinal Parameter 'exceptionMessage' is not assigned and could be declared final 325
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 325
CommentSize Comment is too large: Line too long 334
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 336
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 336
CommentSize Comment is too large: Line too long 344
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 348
LongVariable Avoid excessively long variable names like runtimeExceptionSupplier 348
MethodArgumentCouldBeFinal Parameter 'runtimeExceptionSupplier' is not assigned and could be declared final 348
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception RuntimeException in its 'throws' clause 348
CommentSize Comment is too large: Line too long 359
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 363
MethodArgumentCouldBeFinal Parameter 'exceptionMessage' is not assigned and could be declared final 363
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 363
CommentSize Comment is too large: Line too long 372
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 374
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 374
CommentSize Comment is too large: Line too long 382
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 386
LongVariable Avoid excessively long variable names like runtimeExceptionSupplier 386
MethodArgumentCouldBeFinal Parameter 'runtimeExceptionSupplier' is not assigned and could be declared final 386
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception RuntimeException in its 'throws' clause 386
CommentSize Comment is too large: Line too long 397
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 401
MethodArgumentCouldBeFinal Parameter 'exceptionMessage' is not assigned and could be declared final 401
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 401
CommentSize Comment is too large: Line too long 410
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 412
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 412
CommentSize Comment is too large: Line too long 420
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 424
LongVariable Avoid excessively long variable names like runtimeExceptionSupplier 424
MethodArgumentCouldBeFinal Parameter 'runtimeExceptionSupplier' is not assigned and could be declared final 424
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception RuntimeException in its 'throws' clause 424
CommentSize Comment is too large: Line too long 435
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 439
MethodArgumentCouldBeFinal Parameter 'exceptionMessage' is not assigned and could be declared final 439
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 439
CommentSize Comment is too large: Line too long 448
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 450
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 450
CommentSize Comment is too large: Line too long 458
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 462
LongVariable Avoid excessively long variable names like runtimeExceptionSupplier 462
MethodArgumentCouldBeFinal Parameter 'runtimeExceptionSupplier' is not assigned and could be declared final 462
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception RuntimeException in its 'throws' clause 462
CommentSize Comment is too large: Line too long 473
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 477
MethodArgumentCouldBeFinal Parameter 'exceptionMessage' is not assigned and could be declared final 477
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 477
CommentSize Comment is too large: Line too long 486
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 488
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 488
io/github/mangila/ensure4j/ops/EnsureObjectOps.java
Rule Violation Line
CommentSize Comment is too large: Line too long 13
CommentSize Comment is too large: Too many lines 1830
LinguisticNaming Linguistics Antipattern - The method 'isInstanceOf' indicates linguistically it returns a boolean, but it returns 'T' 32
MethodArgumentCouldBeFinal Parameter 'clazz' is not assigned and could be declared final 32
MethodArgumentCouldBeFinal Parameter 'object' is not assigned and could be declared final 32
MethodArgumentCouldBeFinal Parameter 'supplier' is not assigned and could be declared final 32
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception RuntimeException in its 'throws' clause 32
CommentSize Comment is too large: Too many lines 3949
CommentSize Comment is too large: Line too long 41
CommentSize Comment is too large: Line too long 46
LinguisticNaming Linguistics Antipattern - The method 'isInstanceOf' indicates linguistically it returns a boolean, but it returns 'T' 50
MethodArgumentCouldBeFinal Parameter 'clazz' is not assigned and could be declared final 50
MethodArgumentCouldBeFinal Parameter 'object' is not assigned and could be declared final 50
MethodArgumentCouldBeFinal Parameter 'exceptionMessage' is not assigned and could be declared final 50
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 50
CommentSize Comment is too large: Too many lines 5462
CommentSize Comment is too large: Line too long 61
LinguisticNaming Linguistics Antipattern - The method 'isInstanceOf' indicates linguistically it returns a boolean, but it returns 'T' 63
MethodArgumentCouldBeFinal Parameter 'clazz' is not assigned and could be declared final 63
MethodArgumentCouldBeFinal Parameter 'object' is not assigned and could be declared final 63
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 63
CommentSize Comment is too large: Too many lines 6877
CommentSize Comment is too large: Line too long 69
CommentSize Comment is too large: Line too long 74
CommentSize Comment is too large: Line too long 76
LinguisticNaming Linguistics Antipattern - The method 'isEquals' indicates linguistically it returns a boolean, but it returns 'T' 78
MethodArgumentCouldBeFinal Parameter 'enum1' is not assigned and could be declared final 78
MethodArgumentCouldBeFinal Parameter 'enum2' is not assigned and could be declared final 78
LongVariable Avoid excessively long variable names like runtimeExceptionSupplier 78
MethodArgumentCouldBeFinal Parameter 'runtimeExceptionSupplier' is not assigned and could be declared final 78
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 78
CommentSize Comment is too large: Too many lines 8594
CommentSize Comment is too large: Line too long 86
CommentSize Comment is too large: Line too long 91
LinguisticNaming Linguistics Antipattern - The method 'isEquals' indicates linguistically it returns a boolean, but it returns 'T' 95
MethodArgumentCouldBeFinal Parameter 'enum1' is not assigned and could be declared final 95
MethodArgumentCouldBeFinal Parameter 'enum2' is not assigned and could be declared final 95
MethodArgumentCouldBeFinal Parameter 'exceptionMessage' is not assigned and could be declared final 95
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 95
CommentSize Comment is too large: Too many lines 99107
CommentSize Comment is too large: Line too long 100
CommentSize Comment is too large: Line too long 106
LinguisticNaming Linguistics Antipattern - The method 'isEquals' indicates linguistically it returns a boolean, but it returns 'T' 108
MethodArgumentCouldBeFinal Parameter 'enum1' is not assigned and could be declared final 108
MethodArgumentCouldBeFinal Parameter 'enum2' is not assigned and could be declared final 108
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 108
CommentSize Comment is too large: Too many lines 112123
CommentSize Comment is too large: Line too long 113
CommentSize Comment is too large: Line too long 114
CommentSize Comment is too large: Line too long 115
CommentSize Comment is too large: Line too long 120
CommentSize Comment is too large: Line too long 122
LinguisticNaming Linguistics Antipattern - The method 'isEquals' indicates linguistically it returns a boolean, but it returns 'T' 124
MethodArgumentCouldBeFinal Parameter 'object' is not assigned and could be declared final 124
MethodArgumentCouldBeFinal Parameter 'otherObject' is not assigned and could be declared final 124
LongVariable Avoid excessively long variable names like runtimeExceptionSupplier 124
MethodArgumentCouldBeFinal Parameter 'runtimeExceptionSupplier' is not assigned and could be declared final 124
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception RuntimeException in its 'throws' clause 124
CompareObjectsWithEquals Use equals() to compare object references. 125
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 126
CommentSize Comment is too large: Too many lines 137146
CommentSize Comment is too large: Line too long 138
CommentSize Comment is too large: Line too long 143
LinguisticNaming Linguistics Antipattern - The method 'isEquals' indicates linguistically it returns a boolean, but it returns 'T' 147
MethodArgumentCouldBeFinal Parameter 'object' is not assigned and could be declared final 147
MethodArgumentCouldBeFinal Parameter 'otherObject' is not assigned and could be declared final 147
MethodArgumentCouldBeFinal Parameter 'exceptionMessage' is not assigned and could be declared final 147
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 147
CommentSize Comment is too large: Too many lines 151159
CommentSize Comment is too large: Line too long 152
CommentSize Comment is too large: Line too long 158
LinguisticNaming Linguistics Antipattern - The method 'isEquals' indicates linguistically it returns a boolean, but it returns 'T' 160
MethodArgumentCouldBeFinal Parameter 'object' is not assigned and could be declared final 160
MethodArgumentCouldBeFinal Parameter 'otherObject' is not assigned and could be declared final 160
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 160
io/github/mangila/ensure4j/ops/EnsureStringOps.java
Rule Violation Line
CommentSize Comment is too large: Line too long 11
CommentSize Comment is too large: Line too long 17
CommentSize Comment is too large: Line too long 21
CommentSize Comment is too large: Line too long 22
MethodArgumentCouldBeFinal Parameter 'string' is not assigned and could be declared final 24
MethodArgumentCouldBeFinal Parameter 'fallbackSupplier' is not assigned and could be declared final 24
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 26
CommentSize Comment is too large: Line too long 32
CommentSize Comment is too large: Line too long 33
MethodArgumentCouldBeFinal Parameter 'string' is not assigned and could be declared final 39
MethodArgumentCouldBeFinal Parameter 'fallbackValue' is not assigned and could be declared final 39
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 41
CommentSize Comment is too large: Too many lines 4654
CommentSize Comment is too large: Line too long 51
CommentSize Comment is too large: Line too long 53
MethodArgumentCouldBeFinal Parameter 'string' is not assigned and could be declared final 55
LongVariable Avoid excessively long variable names like runtimeExceptionSupplier 55
MethodArgumentCouldBeFinal Parameter 'runtimeExceptionSupplier' is not assigned and could be declared final 55
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception RuntimeException in its 'throws' clause 55
CommentSize Comment is too large: Too many lines 6270
CommentSize Comment is too large: Line too long 67
MethodArgumentCouldBeFinal Parameter 'string' is not assigned and could be declared final 71
MethodArgumentCouldBeFinal Parameter 'exceptionMessage' is not assigned and could be declared final 71
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 71
CommentSize Comment is too large: Line too long 76
CommentSize Comment is too large: Line too long 80
MethodArgumentCouldBeFinal Parameter 'string' is not assigned and could be declared final 82
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 82
CommentSize Comment is too large: Too many lines 8694
CommentSize Comment is too large: Line too long 91
MethodArgumentCouldBeFinal Parameter 'min' is not assigned and could be declared final 95
MethodArgumentCouldBeFinal Parameter 'string' is not assigned and could be declared final 95
LongVariable Avoid excessively long variable names like runtimeExceptionSupplier 95
MethodArgumentCouldBeFinal Parameter 'runtimeExceptionSupplier' is not assigned and could be declared final 95
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception RuntimeException in its 'throws' clause 95
CommentSize Comment is too large: Too many lines 102110
CommentSize Comment is too large: Line too long 107
MethodArgumentCouldBeFinal Parameter 'min' is not assigned and could be declared final 111
MethodArgumentCouldBeFinal Parameter 'string' is not assigned and could be declared final 111
MethodArgumentCouldBeFinal Parameter 'exceptionMessage' is not assigned and could be declared final 111
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 111
CommentSize Comment is too large: Line too long 121
MethodArgumentCouldBeFinal Parameter 'min' is not assigned and could be declared final 123
MethodArgumentCouldBeFinal Parameter 'string' is not assigned and could be declared final 123
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 123
CommentSize Comment is too large: Too many lines 127135
CommentSize Comment is too large: Line too long 132
MethodArgumentCouldBeFinal Parameter 'max' is not assigned and could be declared final 136
MethodArgumentCouldBeFinal Parameter 'string' is not assigned and could be declared final 136
LongVariable Avoid excessively long variable names like runtimeExceptionSupplier 136
MethodArgumentCouldBeFinal Parameter 'runtimeExceptionSupplier' is not assigned and could be declared final 136
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception RuntimeException in its 'throws' clause 136
CommentSize Comment is too large: Too many lines 143151
CommentSize Comment is too large: Line too long 148
MethodArgumentCouldBeFinal Parameter 'max' is not assigned and could be declared final 152
MethodArgumentCouldBeFinal Parameter 'string' is not assigned and could be declared final 152
MethodArgumentCouldBeFinal Parameter 'exceptionMessage' is not assigned and could be declared final 152
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 152
CommentSize Comment is too large: Line too long 162
MethodArgumentCouldBeFinal Parameter 'max' is not assigned and could be declared final 164
MethodArgumentCouldBeFinal Parameter 'string' is not assigned and could be declared final 164
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 164
CommentSize Comment is too large: Too many lines 168176
CommentSize Comment is too large: Line too long 173
CommentSize Comment is too large: Line too long 175
MethodArgumentCouldBeFinal Parameter 'prefix' is not assigned and could be declared final 177
MethodArgumentCouldBeFinal Parameter 'string' is not assigned and could be declared final 177
LongVariable Avoid excessively long variable names like runtimeExceptionSupplier 177
MethodArgumentCouldBeFinal Parameter 'runtimeExceptionSupplier' is not assigned and could be declared final 177
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception RuntimeException in its 'throws' clause 177
CommentSize Comment is too large: Too many lines 187195
CommentSize Comment is too large: Line too long 192
MethodArgumentCouldBeFinal Parameter 'prefix' is not assigned and could be declared final 196
MethodArgumentCouldBeFinal Parameter 'string' is not assigned and could be declared final 196
MethodArgumentCouldBeFinal Parameter 'exceptionMessage' is not assigned and could be declared final 196
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 196
CommentSize Comment is too large: Line too long 206
MethodArgumentCouldBeFinal Parameter 'prefix' is not assigned and could be declared final 208
MethodArgumentCouldBeFinal Parameter 'string' is not assigned and could be declared final 208
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 208
CommentSize Comment is too large: Too many lines 212220
CommentSize Comment is too large: Line too long 217
CommentSize Comment is too large: Line too long 219
MethodArgumentCouldBeFinal Parameter 'suffix' is not assigned and could be declared final 221
MethodArgumentCouldBeFinal Parameter 'string' is not assigned and could be declared final 221
LongVariable Avoid excessively long variable names like runtimeExceptionSupplier 221
MethodArgumentCouldBeFinal Parameter 'runtimeExceptionSupplier' is not assigned and could be declared final 221
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception RuntimeException in its 'throws' clause 221
CommentSize Comment is too large: Too many lines 231239
CommentSize Comment is too large: Line too long 236
MethodArgumentCouldBeFinal Parameter 'suffix' is not assigned and could be declared final 240
MethodArgumentCouldBeFinal Parameter 'string' is not assigned and could be declared final 240
MethodArgumentCouldBeFinal Parameter 'exceptionMessage' is not assigned and could be declared final 240
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 240
CommentSize Comment is too large: Line too long 250
MethodArgumentCouldBeFinal Parameter 'suffix' is not assigned and could be declared final 252
MethodArgumentCouldBeFinal Parameter 'string' is not assigned and could be declared final 252
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 252
io/github/mangila/ensure4j/ops/package-info.java
Rule Violation Line
CommentSize Comment is too large: Too many lines 139
CommentSize Comment is too large: Line too long 2
CommentSize Comment is too large: Line too long 6
CommentSize Comment is too large: Line too long 7
CommentSize Comment is too large: Line too long 13
CommentSize Comment is too large: Line too long 15
CommentSize Comment is too large: Line too long 17
CommentSize Comment is too large: Line too long 19
CommentSize Comment is too large: Line too long 20
CommentSize Comment is too large: Line too long 21
CommentSize Comment is too large: Line too long 27
CommentSize Comment is too large: Line too long 34
io/github/mangila/ensure4j/package-info.java
Rule Violation Line
CommentSize Comment is too large: Too many lines 136
CommentSize Comment is too large: Line too long 6
CommentSize Comment is too large: Line too long 13
CommentSize Comment is too large: Line too long 14
CommentSize Comment is too large: Line too long 15
CommentSize Comment is too large: Line too long 16
CommentSize Comment is too large: Line too long 26
CommentSize Comment is too large: Line too long 32

Priority 4

io/github/mangila/ensure4j/ops/EnsureArrayOps.java
Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 41

Files

io/github/mangila/ensure4j/Ensure.java

Rule Violation Priority Line
CommentSize Comment is too large: Line too long 3 11
TooManyMethods This class has too many methods, consider refactoring it. 3 15170
CommentRequired Field comments are required 3 17
CommentRequired Field comments are required 3 18
CommentRequired Field comments are required 3 19
CommentRequired Field comments are required 3 20
CommentRequired Field comments are required 3 21
CommentRequired Field comments are required 3 22
CommentRequired Field comments are required 3 23
CommentRequired Field comments are required 3 24
MethodArgumentCouldBeFinal Parameter 'object' is not assigned and could be declared final 3 81
MethodArgumentCouldBeFinal Parameter 'fallbackSupplier' is not assigned and could be declared final 3 81
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 3 81
MethodArgumentCouldBeFinal Parameter 'object' is not assigned and could be declared final 3 88
MethodArgumentCouldBeFinal Parameter 'defaultObject' is not assigned and could be declared final 3 88
MethodArgumentCouldBeFinal Parameter 'object' is not assigned and could be declared final 3 96
LongVariable Avoid excessively long variable names like runtimeExceptionSupplier 3 96
MethodArgumentCouldBeFinal Parameter 'runtimeExceptionSupplier' is not assigned and could be declared final 3 96
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception RuntimeException in its 'throws' clause 3 96
MethodArgumentCouldBeFinal Parameter 'object' is not assigned and could be declared final 3 104
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception RuntimeException in its 'throws' clause 3 104
MethodArgumentCouldBeFinal Parameter 'object' is not assigned and could be declared final 3 111
LongVariable Avoid excessively long variable names like runtimeExceptionSupplier 3 111
MethodArgumentCouldBeFinal Parameter 'runtimeExceptionSupplier' is not assigned and could be declared final 3 111
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception RuntimeException in its 'throws' clause 3 111
MethodArgumentCouldBeFinal Parameter 'object' is not assigned and could be declared final 3 118
MethodArgumentCouldBeFinal Parameter 'message' is not assigned and could be declared final 3 118
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 3 118
MethodArgumentCouldBeFinal Parameter 'object' is not assigned and could be declared final 3 125
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 3 125
MethodArgumentCouldBeFinal Parameter 'expression' is not assigned and could be declared final 3 132
LongVariable Avoid excessively long variable names like runtimeExceptionSupplier 3 132
MethodArgumentCouldBeFinal Parameter 'runtimeExceptionSupplier' is not assigned and could be declared final 3 132
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception RuntimeException in its 'throws' clause 3 132
MethodArgumentCouldBeFinal Parameter 'expression' is not assigned and could be declared final 3 139
MethodArgumentCouldBeFinal Parameter 'exceptionMessage' is not assigned and could be declared final 3 139
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 3 139
MethodArgumentCouldBeFinal Parameter 'expression' is not assigned and could be declared final 3 146
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 3 146
MethodArgumentCouldBeFinal Parameter 'expression' is not assigned and could be declared final 3 153
LongVariable Avoid excessively long variable names like runtimeExceptionSupplier 3 153
MethodArgumentCouldBeFinal Parameter 'runtimeExceptionSupplier' is not assigned and could be declared final 3 153
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception RuntimeException in its 'throws' clause 3 153
MethodArgumentCouldBeFinal Parameter 'expression' is not assigned and could be declared final 3 160
MethodArgumentCouldBeFinal Parameter 'exceptionMessage' is not assigned and could be declared final 3 160
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 3 160
MethodArgumentCouldBeFinal Parameter 'expression' is not assigned and could be declared final 3 167
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 3 167

io/github/mangila/ensure4j/EnsureException.java

Rule Violation Priority Line
CommentSize Comment is too large: Line too long 3 4
CommentSize Comment is too large: Line too long 3 5
CommentSize Comment is too large: Line too long 3 7
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 10
MethodArgumentCouldBeFinal Parameter 'message' is not assigned and could be declared final 3 17
CommentSize Comment is too large: Line too long 3 25
ShortMethodName Avoid using short method names 3 27
MethodArgumentCouldBeFinal Parameter 'message' is not assigned and could be declared final 3 27

io/github/mangila/ensure4j/internal/EnsureUtils.java

Rule Violation Priority Line
CommentSize Comment is too large: Line too long 3 18
MethodArgumentCouldBeFinal Parameter 'string' is not assigned and could be declared final 3 24
MethodArgumentCouldBeFinal Parameter 'object' is not assigned and could be declared final 3 34
CommentSize Comment is too large: Too many lines 3 3846
CommentSize Comment is too large: Line too long 3 39
CommentSize Comment is too large: Line too long 3 43
MethodArgumentCouldBeFinal Parameter 'supplier' is not assigned and could be declared final 3 48
ShortVariable Avoid variables with short names like t 3 52

io/github/mangila/ensure4j/internal/package-info.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 120
CommentSize Comment is too large: Line too long 3 5
CommentSize Comment is too large: Line too long 3 6
CommentSize Comment is too large: Line too long 3 7
CommentSize Comment is too large: Line too long 3 12
CommentSize Comment is too large: Line too long 3 13
CommentSize Comment is too large: Line too long 3 17
CommentSize Comment is too large: Line too long 3 18

io/github/mangila/ensure4j/ops/EnsureArrayOps.java

Rule Violation Priority Line
CommentSize Comment is too large: Line too long 3 12
CommentSize Comment is too large: Too many lines 3 1727
CommentSize Comment is too large: Line too long 3 24
MethodArgumentCouldBeFinal Parameter 'array' is not assigned and could be declared final 3 28
MethodArgumentCouldBeFinal Parameter 'exceptionMessage' is not assigned and could be declared final 3 28
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 3 28
CommentSize Comment is too large: Too many lines 3 3240
CommentSize Comment is too large: Line too long 3 33
CommentSize Comment is too large: Line too long 3 39
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 41
MethodArgumentCouldBeFinal Parameter 'array' is not assigned and could be declared final 3 41
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 3 41
CommentSize Comment is too large: Too many lines 3 4555
CommentSize Comment is too large: Line too long 3 52
MethodArgumentCouldBeFinal Parameter 'array' is not assigned and could be declared final 3 56
LongVariable Avoid excessively long variable names like runtimeExceptionSupplier 3 56
MethodArgumentCouldBeFinal Parameter 'runtimeExceptionSupplier' is not assigned and could be declared final 3 56
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception RuntimeException in its 'throws' clause 3 56

io/github/mangila/ensure4j/ops/EnsureBooleanOps.java

Rule Violation Priority Line
CommentSize Comment is too large: Line too long 3 11
CommentSize Comment is too large: Too many lines 3 1624
CommentSize Comment is too large: Line too long 3 17
CommentSize Comment is too large: Line too long 3 21
CommentSize Comment is too large: Line too long 3 23
MethodArgumentCouldBeFinal Parameter 'expression' is not assigned and could be declared final 3 25
LongVariable Avoid excessively long variable names like runtimeExceptionSupplier 3 26
MethodArgumentCouldBeFinal Parameter 'runtimeExceptionSupplier' is not assigned and could be declared final 3 26
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception RuntimeException in its 'throws' clause 3 26
CommentSize Comment is too large: Line too long 3 33
CommentSize Comment is too large: Line too long 3 37
MethodArgumentCouldBeFinal Parameter 'expression' is not assigned and could be declared final 3 40
MethodArgumentCouldBeFinal Parameter 'exceptionMessage' is not assigned and could be declared final 3 40
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 3 40
CommentSize Comment is too large: Line too long 3 49
MethodArgumentCouldBeFinal Parameter 'expression' is not assigned and could be declared final 3 51
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 3 51
CommentSize Comment is too large: Too many lines 3 5563
CommentSize Comment is too large: Line too long 3 56
CommentSize Comment is too large: Line too long 3 60
CommentSize Comment is too large: Line too long 3 62
MethodArgumentCouldBeFinal Parameter 'expression' is not assigned and could be declared final 3 64
LongVariable Avoid excessively long variable names like runtimeExceptionSupplier 3 65
MethodArgumentCouldBeFinal Parameter 'runtimeExceptionSupplier' is not assigned and could be declared final 3 65
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception RuntimeException in its 'throws' clause 3 65
CommentSize Comment is too large: Line too long 3 76
MethodArgumentCouldBeFinal Parameter 'expression' is not assigned and could be declared final 3 79
MethodArgumentCouldBeFinal Parameter 'exceptionMessage' is not assigned and could be declared final 3 79
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 3 79
CommentSize Comment is too large: Line too long 3 88
MethodArgumentCouldBeFinal Parameter 'expression' is not assigned and could be declared final 3 90
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 3 90

io/github/mangila/ensure4j/ops/EnsureCollectionOps.java

Rule Violation Priority Line
CommentSize Comment is too large: Line too long 3 13
CommentSize Comment is too large: Too many lines 3 1829
CommentSize Comment is too large: Line too long 3 19
CommentSize Comment is too large: Line too long 3 23
CommentSize Comment is too large: Line too long 3 25
MethodArgumentCouldBeFinal Parameter 'collection' is not assigned and could be declared final 3 30
MethodArgumentCouldBeFinal Parameter 'element' is not assigned and could be declared final 3 30
LongVariable Avoid excessively long variable names like runtimeExceptionSupplier 3 30
MethodArgumentCouldBeFinal Parameter 'runtimeExceptionSupplier' is not assigned and could be declared final 3 30
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception RuntimeException in its 'throws' clause 3 30
CommentSize Comment is too large: Too many lines 3 3747
CommentSize Comment is too large: Line too long 3 39
CommentSize Comment is too large: Line too long 3 44
MethodArgumentCouldBeFinal Parameter 'collection' is not assigned and could be declared final 3 48
MethodArgumentCouldBeFinal Parameter 'element' is not assigned and could be declared final 3 48
MethodArgumentCouldBeFinal Parameter 'exceptionMessage' is not assigned and could be declared final 3 48
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception RuntimeException in its 'throws' clause 3 48
CommentSize Comment is too large: Too many lines 3 5261
CommentSize Comment is too large: Line too long 3 60
MethodArgumentCouldBeFinal Parameter 'collection' is not assigned and could be declared final 3 62
MethodArgumentCouldBeFinal Parameter 'element' is not assigned and could be declared final 3 62
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception RuntimeException in its 'throws' clause 3 62
CommentSize Comment is too large: Too many lines 3 6678
CommentSize Comment is too large: Line too long 3 68
CommentSize Comment is too large: Line too long 3 70
CommentSize Comment is too large: Line too long 3 75
MethodArgumentCouldBeFinal Parameter 'collection' is not assigned and could be declared final 3 79
LongVariable Avoid excessively long variable names like runtimeExceptionSupplier 3 79
MethodArgumentCouldBeFinal Parameter 'runtimeExceptionSupplier' is not assigned and could be declared final 3 79
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 3 79
LocalVariableCouldBeFinal Local variable 'element' could be declared final 3 83
CommentSize Comment is too large: Too many lines 3 91102
CommentSize Comment is too large: Line too long 3 94
CommentSize Comment is too large: Line too long 3 99
MethodArgumentCouldBeFinal Parameter 'collection' is not assigned and could be declared final 3 103
MethodArgumentCouldBeFinal Parameter 'exceptionMessage' is not assigned and could be declared final 3 103
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 3 103
CommentSize Comment is too large: Too many lines 3 107117
CommentSize Comment is too large: Line too long 3 110
CommentSize Comment is too large: Line too long 3 116
MethodArgumentCouldBeFinal Parameter 'collection' is not assigned and could be declared final 3 118
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 3 118
CommentSize Comment is too large: Too many lines 3 122134
CommentSize Comment is too large: Line too long 3 124
CommentSize Comment is too large: Line too long 3 126
CommentSize Comment is too large: Line too long 3 131
MethodArgumentCouldBeFinal Parameter 'collection' is not assigned and could be declared final 3 135
LongVariable Avoid excessively long variable names like runtimeExceptionSupplier 3 135
MethodArgumentCouldBeFinal Parameter 'runtimeExceptionSupplier' is not assigned and could be declared final 3 135
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception RuntimeException in its 'throws' clause 3 135
CommentSize Comment is too large: Too many lines 3 142153
CommentSize Comment is too large: Line too long 3 145
CommentSize Comment is too large: Line too long 3 150
MethodArgumentCouldBeFinal Parameter 'collection' is not assigned and could be declared final 3 154
MethodArgumentCouldBeFinal Parameter 'exceptionMessage' is not assigned and could be declared final 3 154
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 3 154
CommentSize Comment is too large: Too many lines 3 158168
CommentSize Comment is too large: Line too long 3 161
CommentSize Comment is too large: Line too long 3 167
MethodArgumentCouldBeFinal Parameter 'collection' is not assigned and could be declared final 3 169
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 3 169
CommentSize Comment is too large: Too many lines 3 173183
CommentSize Comment is too large: Line too long 3 176
CommentSize Comment is too large: Line too long 3 180
MethodArgumentCouldBeFinal Parameter 'collection' is not assigned and could be declared final 3 184
LongVariable Avoid excessively long variable names like runtimeExceptionSupplier 3 184
MethodArgumentCouldBeFinal Parameter 'runtimeExceptionSupplier' is not assigned and could be declared final 3 184
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception RuntimeException in its 'throws' clause 3 184
CommentSize Comment is too large: Too many lines 3 191201
CommentSize Comment is too large: Line too long 3 194
MethodArgumentCouldBeFinal Parameter 'collection' is not assigned and could be declared final 3 202
MethodArgumentCouldBeFinal Parameter 'exceptionMessage' is not assigned and could be declared final 3 202
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 3 202
CommentSize Comment is too large: Too many lines 3 206215
CommentSize Comment is too large: Line too long 3 209
CommentSize Comment is too large: Line too long 3 214
MethodArgumentCouldBeFinal Parameter 'collection' is not assigned and could be declared final 3 216
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 3 216

io/github/mangila/ensure4j/ops/EnsureMapOps.java

Rule Violation Priority Line
CommentSize Comment is too large: Line too long 3 13
CommentSize Comment is too large: Too many lines 3 1828
CommentSize Comment is too large: Line too long 3 20
CommentSize Comment is too large: Line too long 3 24
MethodArgumentCouldBeFinal Parameter 'map' is not assigned and could be declared final 3 29
LongVariable Avoid excessively long variable names like runtimeExceptionSupplier 3 29
MethodArgumentCouldBeFinal Parameter 'runtimeExceptionSupplier' is not assigned and could be declared final 3 29
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception RuntimeException in its 'throws' clause 3 29
CommentSize Comment is too large: Too many lines 3 3645
CommentSize Comment is too large: Line too long 3 42
MethodArgumentCouldBeFinal Parameter 'map' is not assigned and could be declared final 3 46
MethodArgumentCouldBeFinal Parameter 'exceptionMessage' is not assigned and could be declared final 3 46
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 3 46
CommentSize Comment is too large: Too many lines 3 5058
CommentSize Comment is too large: Line too long 3 57
MethodArgumentCouldBeFinal Parameter 'map' is not assigned and could be declared final 3 59
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 3 59

io/github/mangila/ensure4j/ops/EnsureNullOps.java

Rule Violation Priority Line
CommentSize Comment is too large: Line too long 3 12
CommentSize Comment is too large: Too many lines 3 1726
CommentSize Comment is too large: Line too long 3 18
CommentSize Comment is too large: Line too long 3 19
CommentSize Comment is too large: Line too long 3 23
CommentSize Comment is too large: Line too long 3 24
CommentSize Comment is too large: Line too long 3 25
MethodArgumentCouldBeFinal Parameter 'object' is not assigned and could be declared final 3 27
MethodArgumentCouldBeFinal Parameter 'fallbackSupplier' is not assigned and could be declared final 3 27
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 3 27
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 29
CommentSize Comment is too large: Line too long 3 35
MethodArgumentCouldBeFinal Parameter 'object' is not assigned and could be declared final 3 42
MethodArgumentCouldBeFinal Parameter 'defaultObject' is not assigned and could be declared final 3 42
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 44
CommentSize Comment is too large: Too many lines 3 4959
CommentSize Comment is too large: Line too long 3 50
CommentSize Comment is too large: Line too long 3 55
CommentSize Comment is too large: Line too long 3 57
MethodArgumentCouldBeFinal Parameter 'object' is not assigned and could be declared final 3 61
LongVariable Avoid excessively long variable names like runtimeExceptionSupplier 3 61
MethodArgumentCouldBeFinal Parameter 'runtimeExceptionSupplier' is not assigned and could be declared final 3 61
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception RuntimeException in its 'throws' clause 3 61
CommentSize Comment is too large: Too many lines 3 6574
CommentSize Comment is too large: Line too long 3 66
CommentSize Comment is too large: Line too long 3 72
MethodArgumentCouldBeFinal Parameter 'object' is not assigned and could be declared final 3 76
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception RuntimeException in its 'throws' clause 3 76
CommentSize Comment is too large: Too many lines 3 8089
CommentSize Comment is too large: Line too long 3 81
CommentSize Comment is too large: Line too long 3 86
CommentSize Comment is too large: Line too long 3 88
MethodArgumentCouldBeFinal Parameter 'object' is not assigned and could be declared final 3 90
LongVariable Avoid excessively long variable names like runtimeExceptionSupplier 3 90
MethodArgumentCouldBeFinal Parameter 'runtimeExceptionSupplier' is not assigned and could be declared final 3 90
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception RuntimeException in its 'throws' clause 3 90
CommentSize Comment is too large: Too many lines 3 97106
CommentSize Comment is too large: Line too long 3 98
MethodArgumentCouldBeFinal Parameter 'object' is not assigned and could be declared final 3 107
MethodArgumentCouldBeFinal Parameter 'message' is not assigned and could be declared final 3 107
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 3 107
CommentSize Comment is too large: Line too long 3 112
CommentSize Comment is too large: Line too long 3 117
MethodArgumentCouldBeFinal Parameter 'object' is not assigned and could be declared final 3 119
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 3 119

io/github/mangila/ensure4j/ops/EnsureNumberOps.java

Rule Violation Priority Line
CommentSize Comment is too large: Line too long 3 11
CommentSize Comment is too large: Too many lines 3 1625
CommentSize Comment is too large: Line too long 3 22
MethodArgumentCouldBeFinal Parameter 'boundary' is not assigned and could be declared final 3 26
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 26
LongVariable Avoid excessively long variable names like runtimeExceptionSupplier 3 26
MethodArgumentCouldBeFinal Parameter 'runtimeExceptionSupplier' is not assigned and could be declared final 3 26
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception RuntimeException in its 'throws' clause 3 26
CommentSize Comment is too large: Too many lines 3 3342
CommentSize Comment is too large: Line too long 3 35
CommentSize Comment is too large: Line too long 3 39
MethodArgumentCouldBeFinal Parameter 'boundary' is not assigned and could be declared final 3 43
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 43
MethodArgumentCouldBeFinal Parameter 'exceptionMessage' is not assigned and could be declared final 3 43
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 3 43
CommentSize Comment is too large: Line too long 3 48
CommentSize Comment is too large: Line too long 3 53
MethodArgumentCouldBeFinal Parameter 'boundary' is not assigned and could be declared final 3 55
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 55
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 3 55
CommentSize Comment is too large: Too many lines 3 5967
CommentSize Comment is too large: Line too long 3 60
CommentSize Comment is too large: Line too long 3 64
MethodArgumentCouldBeFinal Parameter 'boundary' is not assigned and could be declared final 3 68
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 68
LongVariable Avoid excessively long variable names like runtimeExceptionSupplier 3 68
MethodArgumentCouldBeFinal Parameter 'runtimeExceptionSupplier' is not assigned and could be declared final 3 68
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception RuntimeException in its 'throws' clause 3 68
CommentSize Comment is too large: Too many lines 3 7584
CommentSize Comment is too large: Line too long 3 76
CommentSize Comment is too large: Line too long 3 81
MethodArgumentCouldBeFinal Parameter 'boundary' is not assigned and could be declared final 3 85
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 85
MethodArgumentCouldBeFinal Parameter 'exceptionMessage' is not assigned and could be declared final 3 85
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 3 85
CommentSize Comment is too large: Line too long 3 90
CommentSize Comment is too large: Line too long 3 95
MethodArgumentCouldBeFinal Parameter 'boundary' is not assigned and could be declared final 3 97
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 97
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 3 97
CommentSize Comment is too large: Too many lines 3 101111
CommentSize Comment is too large: Line too long 3 102
CommentSize Comment is too large: Line too long 3 108
CommentSize Comment is too large: Line too long 3 110
MethodArgumentCouldBeFinal Parameter 'boundary' is not assigned and could be declared final 3 112
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 112
LongVariable Avoid excessively long variable names like runtimeExceptionSupplier 3 112
MethodArgumentCouldBeFinal Parameter 'runtimeExceptionSupplier' is not assigned and could be declared final 3 112
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception RuntimeException in its 'throws' clause 3 112
CommentSize Comment is too large: Too many lines 3 119128
CommentSize Comment is too large: Line too long 3 121
CommentSize Comment is too large: Line too long 3 125
MethodArgumentCouldBeFinal Parameter 'boundary' is not assigned and could be declared final 3 129
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 129
MethodArgumentCouldBeFinal Parameter 'exceptionMessage' is not assigned and could be declared final 3 129
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 3 129
CommentSize Comment is too large: Too many lines 3 133141
CommentSize Comment is too large: Line too long 3 140
MethodArgumentCouldBeFinal Parameter 'boundary' is not assigned and could be declared final 3 142
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 142
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 3 142
CommentSize Comment is too large: Too many lines 3 146154
CommentSize Comment is too large: Line too long 3 147
CommentSize Comment is too large: Line too long 3 151
CommentSize Comment is too large: Line too long 3 152
CommentSize Comment is too large: Line too long 3 153
MethodArgumentCouldBeFinal Parameter 'boundary' is not assigned and could be declared final 3 155
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 155
LongVariable Avoid excessively long variable names like runtimeExceptionSupplier 3 155
MethodArgumentCouldBeFinal Parameter 'runtimeExceptionSupplier' is not assigned and could be declared final 3 155
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception RuntimeException in its 'throws' clause 3 155
CommentSize Comment is too large: Too many lines 3 162171
CommentSize Comment is too large: Line too long 3 163
CommentSize Comment is too large: Line too long 3 168
CommentSize Comment is too large: Line too long 3 169
MethodArgumentCouldBeFinal Parameter 'boundary' is not assigned and could be declared final 3 172
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 172
MethodArgumentCouldBeFinal Parameter 'exceptionMessage' is not assigned and could be declared final 3 172
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 3 172
CommentSize Comment is too large: Line too long 3 177
CommentSize Comment is too large: Line too long 3 182
MethodArgumentCouldBeFinal Parameter 'boundary' is not assigned and could be declared final 3 184
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 184
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 3 184
CommentSize Comment is too large: Line too long 3 192
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 196
LongVariable Avoid excessively long variable names like runtimeExceptionSupplier 3 196
MethodArgumentCouldBeFinal Parameter 'runtimeExceptionSupplier' is not assigned and could be declared final 3 196
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception RuntimeException in its 'throws' clause 3 196
CommentSize Comment is too large: Line too long 3 207
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 211
MethodArgumentCouldBeFinal Parameter 'exceptionMessage' is not assigned and could be declared final 3 211
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 3 211
CommentSize Comment is too large: Line too long 3 220
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 222
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 3 222
CommentSize Comment is too large: Line too long 3 230
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 234
LongVariable Avoid excessively long variable names like runtimeExceptionSupplier 3 234
MethodArgumentCouldBeFinal Parameter 'runtimeExceptionSupplier' is not assigned and could be declared final 3 234
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception RuntimeException in its 'throws' clause 3 234
CommentSize Comment is too large: Line too long 3 245
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 249
MethodArgumentCouldBeFinal Parameter 'exceptionMessage' is not assigned and could be declared final 3 249
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 3 249
CommentSize Comment is too large: Line too long 3 258
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 260
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 3 260
CommentSize Comment is too large: Line too long 3 268
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 272
LongVariable Avoid excessively long variable names like runtimeExceptionSupplier 3 272
MethodArgumentCouldBeFinal Parameter 'runtimeExceptionSupplier' is not assigned and could be declared final 3 272
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception RuntimeException in its 'throws' clause 3 272
CommentSize Comment is too large: Line too long 3 283
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 287
MethodArgumentCouldBeFinal Parameter 'exceptionMessage' is not assigned and could be declared final 3 287
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 3 287
CommentSize Comment is too large: Line too long 3 296
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 298
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 3 298
CommentSize Comment is too large: Line too long 3 306
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 310
LongVariable Avoid excessively long variable names like runtimeExceptionSupplier 3 310
MethodArgumentCouldBeFinal Parameter 'runtimeExceptionSupplier' is not assigned and could be declared final 3 310
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception RuntimeException in its 'throws' clause 3 310
CommentSize Comment is too large: Line too long 3 321
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 325
MethodArgumentCouldBeFinal Parameter 'exceptionMessage' is not assigned and could be declared final 3 325
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 3 325
CommentSize Comment is too large: Line too long 3 334
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 336
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 3 336
CommentSize Comment is too large: Line too long 3 344
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 348
LongVariable Avoid excessively long variable names like runtimeExceptionSupplier 3 348
MethodArgumentCouldBeFinal Parameter 'runtimeExceptionSupplier' is not assigned and could be declared final 3 348
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception RuntimeException in its 'throws' clause 3 348
CommentSize Comment is too large: Line too long 3 359
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 363
MethodArgumentCouldBeFinal Parameter 'exceptionMessage' is not assigned and could be declared final 3 363
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 3 363
CommentSize Comment is too large: Line too long 3 372
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 374
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 3 374
CommentSize Comment is too large: Line too long 3 382
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 386
LongVariable Avoid excessively long variable names like runtimeExceptionSupplier 3 386
MethodArgumentCouldBeFinal Parameter 'runtimeExceptionSupplier' is not assigned and could be declared final 3 386
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception RuntimeException in its 'throws' clause 3 386
CommentSize Comment is too large: Line too long 3 397
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 401
MethodArgumentCouldBeFinal Parameter 'exceptionMessage' is not assigned and could be declared final 3 401
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 3 401
CommentSize Comment is too large: Line too long 3 410
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 412
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 3 412
CommentSize Comment is too large: Line too long 3 420
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 424
LongVariable Avoid excessively long variable names like runtimeExceptionSupplier 3 424
MethodArgumentCouldBeFinal Parameter 'runtimeExceptionSupplier' is not assigned and could be declared final 3 424
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception RuntimeException in its 'throws' clause 3 424
CommentSize Comment is too large: Line too long 3 435
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 439
MethodArgumentCouldBeFinal Parameter 'exceptionMessage' is not assigned and could be declared final 3 439
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 3 439
CommentSize Comment is too large: Line too long 3 448
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 450
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 3 450
CommentSize Comment is too large: Line too long 3 458
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 462
LongVariable Avoid excessively long variable names like runtimeExceptionSupplier 3 462
MethodArgumentCouldBeFinal Parameter 'runtimeExceptionSupplier' is not assigned and could be declared final 3 462
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception RuntimeException in its 'throws' clause 3 462
CommentSize Comment is too large: Line too long 3 473
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 477
MethodArgumentCouldBeFinal Parameter 'exceptionMessage' is not assigned and could be declared final 3 477
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 3 477
CommentSize Comment is too large: Line too long 3 486
MethodArgumentCouldBeFinal Parameter 'value' is not assigned and could be declared final 3 488
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 3 488

io/github/mangila/ensure4j/ops/EnsureObjectOps.java

Rule Violation Priority Line
CommentSize Comment is too large: Line too long 3 13
CommentSize Comment is too large: Too many lines 3 1830
LinguisticNaming Linguistics Antipattern - The method 'isInstanceOf' indicates linguistically it returns a boolean, but it returns 'T' 3 32
MethodArgumentCouldBeFinal Parameter 'clazz' is not assigned and could be declared final 3 32
MethodArgumentCouldBeFinal Parameter 'object' is not assigned and could be declared final 3 32
MethodArgumentCouldBeFinal Parameter 'supplier' is not assigned and could be declared final 3 32
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception RuntimeException in its 'throws' clause 3 32
CommentSize Comment is too large: Too many lines 3 3949
CommentSize Comment is too large: Line too long 3 41
CommentSize Comment is too large: Line too long 3 46
LinguisticNaming Linguistics Antipattern - The method 'isInstanceOf' indicates linguistically it returns a boolean, but it returns 'T' 3 50
MethodArgumentCouldBeFinal Parameter 'clazz' is not assigned and could be declared final 3 50
MethodArgumentCouldBeFinal Parameter 'object' is not assigned and could be declared final 3 50
MethodArgumentCouldBeFinal Parameter 'exceptionMessage' is not assigned and could be declared final 3 50
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 3 50
CommentSize Comment is too large: Too many lines 3 5462
CommentSize Comment is too large: Line too long 3 61
LinguisticNaming Linguistics Antipattern - The method 'isInstanceOf' indicates linguistically it returns a boolean, but it returns 'T' 3 63
MethodArgumentCouldBeFinal Parameter 'clazz' is not assigned and could be declared final 3 63
MethodArgumentCouldBeFinal Parameter 'object' is not assigned and could be declared final 3 63
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 3 63
CommentSize Comment is too large: Too many lines 3 6877
CommentSize Comment is too large: Line too long 3 69
CommentSize Comment is too large: Line too long 3 74
CommentSize Comment is too large: Line too long 3 76
LinguisticNaming Linguistics Antipattern - The method 'isEquals' indicates linguistically it returns a boolean, but it returns 'T' 3 78
MethodArgumentCouldBeFinal Parameter 'enum1' is not assigned and could be declared final 3 78
MethodArgumentCouldBeFinal Parameter 'enum2' is not assigned and could be declared final 3 78
LongVariable Avoid excessively long variable names like runtimeExceptionSupplier 3 78
MethodArgumentCouldBeFinal Parameter 'runtimeExceptionSupplier' is not assigned and could be declared final 3 78
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 3 78
CommentSize Comment is too large: Too many lines 3 8594
CommentSize Comment is too large: Line too long 3 86
CommentSize Comment is too large: Line too long 3 91
LinguisticNaming Linguistics Antipattern - The method 'isEquals' indicates linguistically it returns a boolean, but it returns 'T' 3 95
MethodArgumentCouldBeFinal Parameter 'enum1' is not assigned and could be declared final 3 95
MethodArgumentCouldBeFinal Parameter 'enum2' is not assigned and could be declared final 3 95
MethodArgumentCouldBeFinal Parameter 'exceptionMessage' is not assigned and could be declared final 3 95
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 3 95
CommentSize Comment is too large: Too many lines 3 99107
CommentSize Comment is too large: Line too long 3 100
CommentSize Comment is too large: Line too long 3 106
LinguisticNaming Linguistics Antipattern - The method 'isEquals' indicates linguistically it returns a boolean, but it returns 'T' 3 108
MethodArgumentCouldBeFinal Parameter 'enum1' is not assigned and could be declared final 3 108
MethodArgumentCouldBeFinal Parameter 'enum2' is not assigned and could be declared final 3 108
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 3 108
CommentSize Comment is too large: Too many lines 3 112123
CommentSize Comment is too large: Line too long 3 113
CommentSize Comment is too large: Line too long 3 114
CommentSize Comment is too large: Line too long 3 115
CommentSize Comment is too large: Line too long 3 120
CommentSize Comment is too large: Line too long 3 122
LinguisticNaming Linguistics Antipattern - The method 'isEquals' indicates linguistically it returns a boolean, but it returns 'T' 3 124
MethodArgumentCouldBeFinal Parameter 'object' is not assigned and could be declared final 3 124
MethodArgumentCouldBeFinal Parameter 'otherObject' is not assigned and could be declared final 3 124
LongVariable Avoid excessively long variable names like runtimeExceptionSupplier 3 124
MethodArgumentCouldBeFinal Parameter 'runtimeExceptionSupplier' is not assigned and could be declared final 3 124
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception RuntimeException in its 'throws' clause 3 124
CompareObjectsWithEquals Use equals() to compare object references. 3 125
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 126
CommentSize Comment is too large: Too many lines 3 137146
CommentSize Comment is too large: Line too long 3 138
CommentSize Comment is too large: Line too long 3 143
LinguisticNaming Linguistics Antipattern - The method 'isEquals' indicates linguistically it returns a boolean, but it returns 'T' 3 147
MethodArgumentCouldBeFinal Parameter 'object' is not assigned and could be declared final 3 147
MethodArgumentCouldBeFinal Parameter 'otherObject' is not assigned and could be declared final 3 147
MethodArgumentCouldBeFinal Parameter 'exceptionMessage' is not assigned and could be declared final 3 147
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 3 147
CommentSize Comment is too large: Too many lines 3 151159
CommentSize Comment is too large: Line too long 3 152
CommentSize Comment is too large: Line too long 3 158
LinguisticNaming Linguistics Antipattern - The method 'isEquals' indicates linguistically it returns a boolean, but it returns 'T' 3 160
MethodArgumentCouldBeFinal Parameter 'object' is not assigned and could be declared final 3 160
MethodArgumentCouldBeFinal Parameter 'otherObject' is not assigned and could be declared final 3 160
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 3 160

io/github/mangila/ensure4j/ops/EnsureStringOps.java

Rule Violation Priority Line
CommentSize Comment is too large: Line too long 3 11
CommentSize Comment is too large: Line too long 3 17
CommentSize Comment is too large: Line too long 3 21
CommentSize Comment is too large: Line too long 3 22
MethodArgumentCouldBeFinal Parameter 'string' is not assigned and could be declared final 3 24
MethodArgumentCouldBeFinal Parameter 'fallbackSupplier' is not assigned and could be declared final 3 24
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 26
CommentSize Comment is too large: Line too long 3 32
CommentSize Comment is too large: Line too long 3 33
MethodArgumentCouldBeFinal Parameter 'string' is not assigned and could be declared final 3 39
MethodArgumentCouldBeFinal Parameter 'fallbackValue' is not assigned and could be declared final 3 39
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 41
CommentSize Comment is too large: Too many lines 3 4654
CommentSize Comment is too large: Line too long 3 51
CommentSize Comment is too large: Line too long 3 53
MethodArgumentCouldBeFinal Parameter 'string' is not assigned and could be declared final 3 55
LongVariable Avoid excessively long variable names like runtimeExceptionSupplier 3 55
MethodArgumentCouldBeFinal Parameter 'runtimeExceptionSupplier' is not assigned and could be declared final 3 55
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception RuntimeException in its 'throws' clause 3 55
CommentSize Comment is too large: Too many lines 3 6270
CommentSize Comment is too large: Line too long 3 67
MethodArgumentCouldBeFinal Parameter 'string' is not assigned and could be declared final 3 71
MethodArgumentCouldBeFinal Parameter 'exceptionMessage' is not assigned and could be declared final 3 71
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 3 71
CommentSize Comment is too large: Line too long 3 76
CommentSize Comment is too large: Line too long 3 80
MethodArgumentCouldBeFinal Parameter 'string' is not assigned and could be declared final 3 82
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 3 82
CommentSize Comment is too large: Too many lines 3 8694
CommentSize Comment is too large: Line too long 3 91
MethodArgumentCouldBeFinal Parameter 'min' is not assigned and could be declared final 3 95
MethodArgumentCouldBeFinal Parameter 'string' is not assigned and could be declared final 3 95
LongVariable Avoid excessively long variable names like runtimeExceptionSupplier 3 95
MethodArgumentCouldBeFinal Parameter 'runtimeExceptionSupplier' is not assigned and could be declared final 3 95
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception RuntimeException in its 'throws' clause 3 95
CommentSize Comment is too large: Too many lines 3 102110
CommentSize Comment is too large: Line too long 3 107
MethodArgumentCouldBeFinal Parameter 'min' is not assigned and could be declared final 3 111
MethodArgumentCouldBeFinal Parameter 'string' is not assigned and could be declared final 3 111
MethodArgumentCouldBeFinal Parameter 'exceptionMessage' is not assigned and could be declared final 3 111
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 3 111
CommentSize Comment is too large: Line too long 3 121
MethodArgumentCouldBeFinal Parameter 'min' is not assigned and could be declared final 3 123
MethodArgumentCouldBeFinal Parameter 'string' is not assigned and could be declared final 3 123
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 3 123
CommentSize Comment is too large: Too many lines 3 127135
CommentSize Comment is too large: Line too long 3 132
MethodArgumentCouldBeFinal Parameter 'max' is not assigned and could be declared final 3 136
MethodArgumentCouldBeFinal Parameter 'string' is not assigned and could be declared final 3 136
LongVariable Avoid excessively long variable names like runtimeExceptionSupplier 3 136
MethodArgumentCouldBeFinal Parameter 'runtimeExceptionSupplier' is not assigned and could be declared final 3 136
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception RuntimeException in its 'throws' clause 3 136
CommentSize Comment is too large: Too many lines 3 143151
CommentSize Comment is too large: Line too long 3 148
MethodArgumentCouldBeFinal Parameter 'max' is not assigned and could be declared final 3 152
MethodArgumentCouldBeFinal Parameter 'string' is not assigned and could be declared final 3 152
MethodArgumentCouldBeFinal Parameter 'exceptionMessage' is not assigned and could be declared final 3 152
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 3 152
CommentSize Comment is too large: Line too long 3 162
MethodArgumentCouldBeFinal Parameter 'max' is not assigned and could be declared final 3 164
MethodArgumentCouldBeFinal Parameter 'string' is not assigned and could be declared final 3 164
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 3 164
CommentSize Comment is too large: Too many lines 3 168176
CommentSize Comment is too large: Line too long 3 173
CommentSize Comment is too large: Line too long 3 175
MethodArgumentCouldBeFinal Parameter 'prefix' is not assigned and could be declared final 3 177
MethodArgumentCouldBeFinal Parameter 'string' is not assigned and could be declared final 3 177
LongVariable Avoid excessively long variable names like runtimeExceptionSupplier 3 177
MethodArgumentCouldBeFinal Parameter 'runtimeExceptionSupplier' is not assigned and could be declared final 3 177
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception RuntimeException in its 'throws' clause 3 177
CommentSize Comment is too large: Too many lines 3 187195
CommentSize Comment is too large: Line too long 3 192
MethodArgumentCouldBeFinal Parameter 'prefix' is not assigned and could be declared final 3 196
MethodArgumentCouldBeFinal Parameter 'string' is not assigned and could be declared final 3 196
MethodArgumentCouldBeFinal Parameter 'exceptionMessage' is not assigned and could be declared final 3 196
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 3 196
CommentSize Comment is too large: Line too long 3 206
MethodArgumentCouldBeFinal Parameter 'prefix' is not assigned and could be declared final 3 208
MethodArgumentCouldBeFinal Parameter 'string' is not assigned and could be declared final 3 208
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 3 208
CommentSize Comment is too large: Too many lines 3 212220
CommentSize Comment is too large: Line too long 3 217
CommentSize Comment is too large: Line too long 3 219
MethodArgumentCouldBeFinal Parameter 'suffix' is not assigned and could be declared final 3 221
MethodArgumentCouldBeFinal Parameter 'string' is not assigned and could be declared final 3 221
LongVariable Avoid excessively long variable names like runtimeExceptionSupplier 3 221
MethodArgumentCouldBeFinal Parameter 'runtimeExceptionSupplier' is not assigned and could be declared final 3 221
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception RuntimeException in its 'throws' clause 3 221
CommentSize Comment is too large: Too many lines 3 231239
CommentSize Comment is too large: Line too long 3 236
MethodArgumentCouldBeFinal Parameter 'suffix' is not assigned and could be declared final 3 240
MethodArgumentCouldBeFinal Parameter 'string' is not assigned and could be declared final 3 240
MethodArgumentCouldBeFinal Parameter 'exceptionMessage' is not assigned and could be declared final 3 240
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 3 240
CommentSize Comment is too large: Line too long 3 250
MethodArgumentCouldBeFinal Parameter 'suffix' is not assigned and could be declared final 3 252
MethodArgumentCouldBeFinal Parameter 'string' is not assigned and could be declared final 3 252
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exception EnsureException in its 'throws' clause 3 252

io/github/mangila/ensure4j/ops/package-info.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 139
CommentSize Comment is too large: Line too long 3 2
CommentSize Comment is too large: Line too long 3 6
CommentSize Comment is too large: Line too long 3 7
CommentSize Comment is too large: Line too long 3 13
CommentSize Comment is too large: Line too long 3 15
CommentSize Comment is too large: Line too long 3 17
CommentSize Comment is too large: Line too long 3 19
CommentSize Comment is too large: Line too long 3 20
CommentSize Comment is too large: Line too long 3 21
CommentSize Comment is too large: Line too long 3 27
CommentSize Comment is too large: Line too long 3 34

io/github/mangila/ensure4j/package-info.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 136
CommentSize Comment is too large: Line too long 3 6
CommentSize Comment is too large: Line too long 3 13
CommentSize Comment is too large: Line too long 3 14
CommentSize Comment is too large: Line too long 3 15
CommentSize Comment is too large: Line too long 3 16
CommentSize Comment is too large: Line too long 3 26
CommentSize Comment is too large: Line too long 3 32