Apache Commons logo Apache Commons Codec

PMD Results

The following document contains the results of PMD 7.2.0.

Violations By Priority

Priority 1

org/apache/commons/codec/binary/BaseNCodec.java
Rule Violation Line
FieldNamingConventions The final field name 'PAD' doesn't match '[a-z][a-zA-Z0-9]*' 381
org/apache/commons/codec/binary/BinaryCodec.java
Rule Violation Line
LocalVariableNamingConventions The final local variable name 'l_ascii' doesn't match '[a-z][a-zA-Z0-9]*' 154
LocalVariableNamingConventions The final local variable name 'l_ascii' doesn't match '[a-z][a-zA-Z0-9]*' 185
org/apache/commons/codec/binary/StringUtils.java
Rule Violation Line
MethodNamingConventions The static method name 'getBytesIso8859_1' doesn't match '[a-z][a-zA-Z0-9]*' 144
MethodNamingConventions The static method name 'newStringIso8859_1' doesn't match '[a-z][a-zA-Z0-9]*' 331
org/apache/commons/codec/digest/DigestUtils.java
Rule Violation Line
MethodNamingConventions The static method name 'getSha3_224Digest' doesn't match '[a-z][a-zA-Z0-9]*' 250
MethodNamingConventions The static method name 'getSha3_256Digest' doesn't match '[a-z][a-zA-Z0-9]*' 262
MethodNamingConventions The static method name 'getSha3_384Digest' doesn't match '[a-z][a-zA-Z0-9]*' 274
MethodNamingConventions The static method name 'getSha3_512Digest' doesn't match '[a-z][a-zA-Z0-9]*' 286
MethodNamingConventions The static method name 'getSha512_224Digest' doesn't match '[a-z][a-zA-Z0-9]*' 308
MethodNamingConventions The static method name 'getSha512_256Digest' doesn't match '[a-z][a-zA-Z0-9]*' 319
MethodNamingConventions The static method name 'sha3_224' doesn't match '[a-z][a-zA-Z0-9]*' 669
MethodNamingConventions The static method name 'sha3_224' doesn't match '[a-z][a-zA-Z0-9]*' 681
MethodNamingConventions The static method name 'sha3_224' doesn't match '[a-z][a-zA-Z0-9]*' 692
MethodNamingConventions The static method name 'sha3_224Hex' doesn't match '[a-z][a-zA-Z0-9]*' 703
MethodNamingConventions The static method name 'sha3_224Hex' doesn't match '[a-z][a-zA-Z0-9]*' 715
MethodNamingConventions The static method name 'sha3_224Hex' doesn't match '[a-z][a-zA-Z0-9]*' 726
MethodNamingConventions The static method name 'sha3_256' doesn't match '[a-z][a-zA-Z0-9]*' 737
MethodNamingConventions The static method name 'sha3_256' doesn't match '[a-z][a-zA-Z0-9]*' 749
MethodNamingConventions The static method name 'sha3_256' doesn't match '[a-z][a-zA-Z0-9]*' 760
MethodNamingConventions The static method name 'sha3_256Hex' doesn't match '[a-z][a-zA-Z0-9]*' 771
MethodNamingConventions The static method name 'sha3_256Hex' doesn't match '[a-z][a-zA-Z0-9]*' 783
MethodNamingConventions The static method name 'sha3_256Hex' doesn't match '[a-z][a-zA-Z0-9]*' 794
MethodNamingConventions The static method name 'sha3_384' doesn't match '[a-z][a-zA-Z0-9]*' 805
MethodNamingConventions The static method name 'sha3_384' doesn't match '[a-z][a-zA-Z0-9]*' 817
MethodNamingConventions The static method name 'sha3_384' doesn't match '[a-z][a-zA-Z0-9]*' 828
MethodNamingConventions The static method name 'sha3_384Hex' doesn't match '[a-z][a-zA-Z0-9]*' 839
MethodNamingConventions The static method name 'sha3_384Hex' doesn't match '[a-z][a-zA-Z0-9]*' 851
MethodNamingConventions The static method name 'sha3_384Hex' doesn't match '[a-z][a-zA-Z0-9]*' 862
MethodNamingConventions The static method name 'sha3_512' doesn't match '[a-z][a-zA-Z0-9]*' 873
MethodNamingConventions The static method name 'sha3_512' doesn't match '[a-z][a-zA-Z0-9]*' 885
MethodNamingConventions The static method name 'sha3_512' doesn't match '[a-z][a-zA-Z0-9]*' 896
MethodNamingConventions The static method name 'sha3_512Hex' doesn't match '[a-z][a-zA-Z0-9]*' 907
MethodNamingConventions The static method name 'sha3_512Hex' doesn't match '[a-z][a-zA-Z0-9]*' 919
MethodNamingConventions The static method name 'sha3_512Hex' doesn't match '[a-z][a-zA-Z0-9]*' 930
MethodNamingConventions The static method name 'sha512_224' doesn't match '[a-z][a-zA-Z0-9]*' 1043
MethodNamingConventions The static method name 'sha512_224' doesn't match '[a-z][a-zA-Z0-9]*' 1055
MethodNamingConventions The static method name 'sha512_224' doesn't match '[a-z][a-zA-Z0-9]*' 1066
MethodNamingConventions The static method name 'sha512_224Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1077
MethodNamingConventions The static method name 'sha512_224Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1089
MethodNamingConventions The static method name 'sha512_224Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1100
MethodNamingConventions The static method name 'sha512_256' doesn't match '[a-z][a-zA-Z0-9]*' 1111
MethodNamingConventions The static method name 'sha512_256' doesn't match '[a-z][a-zA-Z0-9]*' 1123
MethodNamingConventions The static method name 'sha512_256' doesn't match '[a-z][a-zA-Z0-9]*' 1134
MethodNamingConventions The static method name 'sha512_256Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1145
MethodNamingConventions The static method name 'sha512_256Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1157
MethodNamingConventions The static method name 'sha512_256Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1168

Priority 3

org/apache/commons/codec/CharEncoding.java
Rule Violation Line
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 128
org/apache/commons/codec/Charsets.java
Rule Violation Line
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 169
org/apache/commons/codec/DecoderException.java
Rule Violation Line
CallSuperInConstructor It is a good practice to call super() in a constructor 39
org/apache/commons/codec/EncoderException.java
Rule Violation Line
CallSuperInConstructor It is a good practice to call super() in a constructor 40
org/apache/commons/codec/Resources.java
Rule Violation Line
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 49
org/apache/commons/codec/StringEncoderComparator.java
Rule Violation Line
ShortVariable Avoid variables with short names like o1 73
ShortVariable Avoid variables with short names like o2 73
ShortVariable Avoid variables with short names like s1 80
ShortVariable Avoid variables with short names like s2 81
org/apache/commons/codec/binary/Base16.java
Rule Violation Line
LongVariable Avoid excessively long variable names like BITS_PER_ENCODED_BYTE 48
LongVariable Avoid excessively long variable names like BYTES_PER_ENCODED_BLOCK 49
LongVariable Avoid excessively long variable names like BYTES_PER_UNENCODED_BLOCK 50
LongVariable Avoid excessively long variable names like UPPER_CASE_DECODE_TABLE 57
LongVariable Avoid excessively long variable names like UPPER_CASE_ENCODE_TABLE 71
LongVariable Avoid excessively long variable names like LOWER_CASE_DECODE_TABLE 78
LongVariable Avoid excessively long variable names like LOWER_CASE_ENCODE_TABLE 93
CommentDefaultAccessModifier Missing commented default access modifier on method 'decode(byte[], int, int, Context)' 149
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 155
ConfusingTernary Avoid if (x != y) ..; else ..; 158
CommentDefaultAccessModifier Missing commented default access modifier on method 'encode(byte[], int, int, Context)' 203
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 205
org/apache/commons/codec/binary/Base32.java
Rule Violation Line
LongVariable Avoid excessively long variable names like BITS_PER_ENCODED_BYTE 84
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 84
LongVariable Avoid excessively long variable names like BYTES_PER_ENCODED_BLOCK 86
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 86
LongVariable Avoid excessively long variable names like BYTES_PER_UNENCODED_BLOCK 87
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 87
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 93
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 112
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 124
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 143
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 151
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 154
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 157
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 160
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 163
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 182
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 188
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 193
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 198
CommentDefaultAccessModifier Missing commented default access modifier on method 'decode(byte[], int, int, Context)' 402
ShortVariable Avoid variables with short names like b 412
CommentDefaultAccessModifier Missing commented default access modifier on method 'encode(byte[], int, int, Context)' 507
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 510
ShortVariable Avoid variables with short names like b 577
CommentDefaultAccessModifier Missing commented default access modifier on method 'getLineSeparator()' 607
org/apache/commons/codec/binary/Base64.java
Rule Violation Line
LinguisticNaming Linguistics Antipattern - The setter 'setUrlSafe' should not return any type except void linguistically 97
LongVariable Avoid excessively long variable names like BITS_PER_ENCODED_BYTE 108
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 108
LongVariable Avoid excessively long variable names like BYTES_PER_UNENCODED_BLOCK 109
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 109
LongVariable Avoid excessively long variable names like BYTES_PER_ENCODED_BLOCK 110
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 110
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 111
LongVariable Avoid excessively long variable names like DECODING_TABLE_LENGTH 112
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 112
LongVariable Avoid excessively long variable names like STANDARD_ENCODE_TABLE 122
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 122
LongVariable Avoid excessively long variable names like URL_SAFE_ENCODE_TABLE 135
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 135
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 156
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 172
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 179
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 181
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 299
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 421
CommentDefaultAccessModifier Missing commented default access modifier on method 'toIntegerBytes(BigInteger)' 448
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 455
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 482
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 487
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 492
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 498
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 500
CommentDefaultAccessModifier Missing commented default access modifier on method 'decode(byte[], int, int, Context)' 744
ShortVariable Avoid variables with short names like b 754
CommentDefaultAccessModifier Missing commented default access modifier on method 'encode(byte[], int, int, Context)' 826
ShortVariable Avoid variables with short names like in 826
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 828
ShortVariable Avoid variables with short names like b 876
CommentDefaultAccessModifier Missing commented default access modifier on method 'getLineSeparator()' 902
org/apache/commons/codec/binary/BaseNCodec.java
Rule Violation Line
LongVariable Avoid excessively long variable names like defaultEncodeTable 67
CommentDefaultAccessModifier Missing commented default access modifier on constructor 'AbstractBuilder(byte[])' 72
LongVariable Avoid excessively long variable names like defaultEncodeTable 72
CommentDefaultAccessModifier Missing commented default access modifier on method 'asThis()' 78
CommentDefaultAccessModifier Missing commented default access modifier on method 'getDecodingPolicy()' 82
CommentDefaultAccessModifier Missing commented default access modifier on method 'getEncodeTable()' 86
CommentDefaultAccessModifier Missing commented default access modifier on method 'getLineLength()' 90
CommentDefaultAccessModifier Missing commented default access modifier on method 'getLineSeparator()' 94
CommentDefaultAccessModifier Missing commented default access modifier on method 'getPadding()' 98
LinguisticNaming Linguistics Antipattern - The setter 'setDecodingPolicy' should not return any type except void linguistically 108
LinguisticNaming Linguistics Antipattern - The setter 'setEncodeTable' should not return any type except void linguistically 119
LinguisticNaming Linguistics Antipattern - The setter 'setLineLength' should not return any type except void linguistically 130
LinguisticNaming Linguistics Antipattern - The setter 'setLineSeparator' should not return any type except void linguistically 141
LinguisticNaming Linguistics Antipattern - The setter 'setPadding' should not return any type except void linguistically 152
CommentDefaultAccessModifier Missing commented default access modifier on nested class 'Context' 164
CommentDefaultAccessModifier Missing commented default access modifier on field 'ibitWorkArea' 170
CommentDefaultAccessModifier Missing commented default access modifier on field 'lbitWorkArea' 176
CommentDefaultAccessModifier Missing commented default access modifier on field 'buffer' 181
CommentDefaultAccessModifier Missing commented default access modifier on field 'pos' 186
CommentDefaultAccessModifier Missing commented default access modifier on field 'readPos' 191
CommentDefaultAccessModifier Missing commented default access modifier on field 'eof' 197
CommentDefaultAccessModifier Missing commented default access modifier on field 'currentLinePos' 203
CommentDefaultAccessModifier Missing commented default access modifier on field 'modulus' 209
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 229
CommentDefaultAccessModifier Missing commented default access modifier on field 'EOF' 229
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 241
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 253
LongVariable Avoid excessively long variable names like DEFAULT_BUFFER_RESIZE_FACTOR 255
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 255
LongVariable Avoid excessively long variable names like DEFAULT_BUFFER_SIZE 261
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 261
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 273
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 276
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 281
LongVariable Avoid excessively long variable names like DECODING_POLICY_DEFAULT 287
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 287
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 294
CommentDefaultAccessModifier Missing commented default access modifier on field 'CHUNK_SEPARATOR' 294
ShortVariable Avoid variables with short names like b 362
CommentDefaultAccessModifier Missing commented default access modifier on method 'toLength(byte[])' 373
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 381
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 384
LongVariable Avoid excessively long variable names like unencodedBlockSize 387
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 387
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 390
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 397
LongVariable Avoid excessively long variable names like chunkSeparatorLength 402
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 402
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 423
LongVariable Avoid excessively long variable names like unencodedBlockSize 437
LongVariable Avoid excessively long variable names like chunkSeparatorLength 437
LongVariable Avoid excessively long variable names like unencodedBlockSize 454
LongVariable Avoid excessively long variable names like chunkSeparatorLength 454
LongVariable Avoid excessively long variable names like unencodedBlockSize 473
LongVariable Avoid excessively long variable names like chunkSeparatorLength 473
CommentDefaultAccessModifier Missing commented default access modifier on method 'available(Context)' 490
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 507
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 524
CommentDefaultAccessModifier Missing commented default access modifier on method 'decode(byte[], int, int, Context)' 535
ShortVariable Avoid variables with short names like i 535
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 551
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 580
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 600
CommentDefaultAccessModifier Missing commented default access modifier on method 'encode(byte[], int, int, Context)' 611
ShortVariable Avoid variables with short names like i 611
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 673
CommentDefaultAccessModifier Missing commented default access modifier on method 'hasData(Context)' 728
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 755
CommentDefaultAccessModifier Missing commented default access modifier on method 'readResults(byte[], int, int, Context)' 807
ShortVariable Avoid variables with short names like b 807
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 819
org/apache/commons/codec/binary/BaseNCodecInputStream.java
Rule Violation Line
ShortVariable Avoid variables with short names like r 126
ShortVariable Avoid variables with short names like b 131
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 132
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 166
ShortVariable Avoid variables with short names like c 190
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 200
ConfusingTernary Avoid if (x != y) ..; else ..; 200
ShortVariable Avoid variables with short names like n 228
ShortVariable Avoid variables with short names like b 233
org/apache/commons/codec/binary/BaseNCodecOutputStream.java
Rule Violation Line
ShortVariable Avoid variables with short names like c 122
ShortVariable Avoid variables with short names like i 194
org/apache/commons/codec/binary/BinaryCodec.java
Rule Violation Line
AtLeastOneConstructor Each class should declare at least one constructor 35
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 81
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 109
CommentDefaultAccessModifier Missing commented default access modifier on method 'isEmpty(byte[])' 135
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 150
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 181
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 240
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 243
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 246
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 295
org/apache/commons/codec/binary/CharSequenceUtils.java
Rule Violation Line
CommentDefaultAccessModifier Missing commented default access modifier on method 'regionMatches(CharSequence, boolean, int, CharSequence, int, int)' 54
ShortVariable Avoid variables with short names like cs 54
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 57
ShortVariable Avoid variables with short names like c1 63
ShortVariable Avoid variables with short names like c2 64
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 69
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 74
org/apache/commons/codec/binary/Hex.java
Rule Violation Line
LongVariable Avoid excessively long variable names like DEFAULT_CHARSET_NAME 52
ShortVariable Avoid variables with short names like f 102
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 348
ShortVariable Avoid variables with short names like ch 365
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 373
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 452
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 455
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 458
org/apache/commons/codec/binary/StringUtils.java
Rule Violation Line
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 72
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 75
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 78
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 94
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 169
ShortVariable Avoid variables with short names like e 269
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 310
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 421
org/apache/commons/codec/cli/Digest.java
Rule Violation Line
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 57
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 58
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 59
LongVariable Avoid excessively long variable names like messageDigestAlgorithm 133
LongVariable Avoid excessively long variable names like messageDigestAlgorithm 138
org/apache/commons/codec/digest/B64.java
Rule Violation Line
CommentDefaultAccessModifier Missing commented default access modifier on field 'B64T_STRING' 36
CommentDefaultAccessModifier Missing commented default access modifier on field 'B64T_ARRAY' 41
CommentDefaultAccessModifier Missing commented default access modifier on method 'b64from24bit(byte, byte, byte, int, StringBuilder)' 57
ShortVariable Avoid variables with short names like b2 57
ShortVariable Avoid variables with short names like b1 57
ShortVariable Avoid variables with short names like b0 57
ShortVariable Avoid variables with short names like w 60
ShortVariable Avoid variables with short names like n 62
CommentDefaultAccessModifier Missing commented default access modifier on method 'getRandomSalt(int)' 78
CommentDefaultAccessModifier Missing commented default access modifier on method 'getRandomSalt(int, Random)' 92
org/apache/commons/codec/digest/Blake3.java
Rule Violation Line
ShortVariable Avoid variables with short names like in 166
LongVariable Avoid excessively long variable names like parentNodesRemaining 191
ShortVariable Avoid variables with short names like cv 203
LongVariable Avoid excessively long variable names like inputChainingValue 220
LongVariable Avoid excessively long variable names like inputChainingValue 226
LongVariable Avoid excessively long variable names like outputBlockCounter 239
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 255
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 256
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 257
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 258
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 259
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 260
LongVariable Avoid excessively long variable names like CHAINING_VALUE_INTS 261
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 261
ShortVariable Avoid variables with short names like IV 266
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 266
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 269
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 270
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 271
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 272
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 273
LongVariable Avoid excessively long variable names like DERIVE_KEY_CONTEXT 274
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 274
LongVariable Avoid excessively long variable names like DERIVE_KEY_MATERIAL 275
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 275
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 281
ShortMethodName Avoid using short method names 327
ShortVariable Avoid variables with short names like a 327
ShortVariable Avoid variables with short names like b 327
ShortVariable Avoid variables with short names like c 327
ShortVariable Avoid variables with short names like d 327
ShortVariable Avoid variables with short names like mx 327
ShortVariable Avoid variables with short names like my 327
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 447
ShortVariable Avoid variables with short names like in 515
ShortVariable Avoid variables with short names like in 530
org/apache/commons/codec/digest/Crypt.java
Rule Violation Line
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 75
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 78
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 81
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 84
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 180
org/apache/commons/codec/digest/DigestUtils.java
Rule Violation Line
CommentDefaultAccessModifier Missing commented default access modifier on field 'BUFFER_SIZE' 63
LongVariable Avoid excessively long variable names like defaultMessageDigest 174
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 176
LongVariable Avoid excessively long variable names like messageDigestAlgorithm 353
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'inputStream': resource specifications are implicitly final 1280
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'inputStream': resource specifications are implicitly final 1338
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 1373
org/apache/commons/codec/digest/HmacUtils.java
Rule Violation Line
LongVariable Avoid excessively long variable names like STREAM_BUFFER_LENGTH 60
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 788
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 804
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 873
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'stream': resource specifications are implicitly final 974
org/apache/commons/codec/digest/Md5Crypt.java
Rule Violation Line
CommentDefaultAccessModifier Missing commented default access modifier on field 'APR1_PREFIX' 56
CommentDefaultAccessModifier Missing commented default access modifier on field 'MD5_PREFIX' 62
ShortVariable Avoid variables with short names like p 291
ShortVariable Avoid variables with short names like m 292
ShortVariable Avoid variables with short names like ii 325
ShortVariable Avoid variables with short names like j 340
ConfusingTernary Avoid if (x != y) ..; else ..; 362366
ConfusingTernary Avoid if (x != y) ..; else ..; 376380
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 413
org/apache/commons/codec/digest/MurmurHash2.java
Rule Violation Line
UnnecessaryCast Unnecessary cast (long) 83
UnnecessaryCast Unnecessary cast (long) 84
UnnecessaryCast Unnecessary cast (long) 85
UnnecessaryCast Unnecessary cast (long) 86
UnnecessaryCast Unnecessary cast (long) 87
UnnecessaryCast Unnecessary cast (long) 88
UnnecessaryCast Unnecessary cast (long) 89
UnnecessaryCast Unnecessary cast (long) 90
ShortVariable Avoid variables with short names like h 121
ShortVariable Avoid variables with short names like k 129
ShortVariable Avoid variables with short names like h 229
ShortVariable Avoid variables with short names like k 236
UnnecessaryCast Unnecessary cast (long) 249
UnnecessaryCast Unnecessary cast (long) 251
UnnecessaryCast Unnecessary cast (long) 253
UnnecessaryCast Unnecessary cast (long) 255
UnnecessaryCast Unnecessary cast (long) 257
UnnecessaryCast Unnecessary cast (long) 259
UnnecessaryCast Unnecessary cast (long) 261
org/apache/commons/codec/digest/MurmurHash3.java
Rule Violation Line
CommentDefaultAccessModifier Missing commented default access modifier on method 'finalise(int, int, byte[], int)' 87
ShortVariable Avoid variables with short names like k1 92
ShortVariable Avoid variables with short names like b1 139
ShortVariable Avoid variables with short names like b2 139
ShortVariable Avoid variables with short names like b3 139
ShortVariable Avoid variables with short names like b4 139
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 144
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 147
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 150
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 156
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 168
ShortVariable Avoid variables with short names like k 195
ShortVariable Avoid variables with short names like k 224
CommentDefaultAccessModifier Missing commented default access modifier on method 'finalise(int, int, byte[], int)' 257
ShortVariable Avoid variables with short names like k1 259
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 298
UseUnderscoresInNumericLiterals Number 2862933555777941757L should separate every third digit with an underscore 298
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 303
UseUnderscoresInNumericLiterals Number 104729 should separate every third digit with an underscore 303
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 305
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 306
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 307
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 308
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 310
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 311
ShortVariable Avoid variables with short names like C1 313
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 313
ShortVariable Avoid variables with short names like C2 314
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 314
ShortVariable Avoid variables with short names like R1 315
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 315
ShortVariable Avoid variables with short names like R2 316
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 316
ShortVariable Avoid variables with short names like R3 317
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 317
ShortVariable Avoid variables with short names like M 318
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 318
ShortVariable Avoid variables with short names like N1 320
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 320
ShortVariable Avoid variables with short names like N2 322
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 322
UnnecessaryCast Unnecessary cast (long) 376
UnnecessaryCast Unnecessary cast (long) 377
UnnecessaryCast Unnecessary cast (long) 378
UnnecessaryCast Unnecessary cast (long) 379
UnnecessaryCast Unnecessary cast (long) 380
UnnecessaryCast Unnecessary cast (long) 381
UnnecessaryCast Unnecessary cast (long) 382
UnnecessaryCast Unnecessary cast (long) 383
ShortVariable Avoid variables with short names like h1 516
ShortVariable Avoid variables with short names like h2 517
ShortVariable Avoid variables with short names like k1 523
ShortVariable Avoid variables with short names like k2 524
ShortVariable Avoid variables with short names like k1 546
ShortVariable Avoid variables with short names like k2 547
UnnecessaryCast Unnecessary cast (long) 551
UnnecessaryCast Unnecessary cast (long) 553
UnnecessaryCast Unnecessary cast (long) 555
UnnecessaryCast Unnecessary cast (long) 557
UnnecessaryCast Unnecessary cast (long) 559
UnnecessaryCast Unnecessary cast (long) 561
UnnecessaryCast Unnecessary cast (long) 570
UnnecessaryCast Unnecessary cast (long) 572
UnnecessaryCast Unnecessary cast (long) 574
UnnecessaryCast Unnecessary cast (long) 576
UnnecessaryCast Unnecessary cast (long) 578
UnnecessaryCast Unnecessary cast (long) 580
UnnecessaryCast Unnecessary cast (long) 582
ShortVariable Avoid variables with short names like k 706
ShortVariable Avoid variables with short names like k1 715
ShortVariable Avoid variables with short names like r0 773
ShortVariable Avoid variables with short names like r0 824
ShortVariable Avoid variables with short names like r1 825
ShortVariable Avoid variables with short names like k 906
ShortVariable Avoid variables with short names like k1 912
ShortVariable Avoid variables with short names like k 1036
ShortVariable Avoid variables with short names like k1 1047
UnnecessaryCast Unnecessary cast (long) 1051
UnnecessaryCast Unnecessary cast (long) 1053
UnnecessaryCast Unnecessary cast (long) 1055
UnnecessaryCast Unnecessary cast (long) 1057
UnnecessaryCast Unnecessary cast (long) 1059
UnnecessaryCast Unnecessary cast (long) 1061
UnnecessaryCast Unnecessary cast (long) 1063
ShortVariable Avoid variables with short names like k1 1106
ShortVariable Avoid variables with short names like k 1149
ShortVariable Avoid variables with short names like k1 1193
UnnecessaryCast Unnecessary cast (long) 1194
UnnecessaryCast Unnecessary cast (long) 1195
ShortVariable Avoid variables with short names like k 1213
org/apache/commons/codec/digest/PureJavaCrc32.java
Rule Violation Line
ShortVariable Avoid variables with short names like T 53
ShortVariable Avoid variables with short names like b 601
ShortVariable Avoid variables with short names like i 605
ShortVariable Avoid variables with short names like x 607
ShortVariable Avoid variables with short names like b 642
org/apache/commons/codec/digest/PureJavaCrc32C.java
Rule Violation Line
ShortVariable Avoid variables with short names like T 55
ShortVariable Avoid variables with short names like b 599
ShortVariable Avoid variables with short names like c0 603
ShortVariable Avoid variables with short names like c1 604
ShortVariable Avoid variables with short names like c2 605
ShortVariable Avoid variables with short names like c3 606
ShortVariable Avoid variables with short names like c4 609
ShortVariable Avoid variables with short names like c5 610
ShortVariable Avoid variables with short names like c6 611
ShortVariable Avoid variables with short names like c7 612
ShortVariable Avoid variables with short names like b 645
org/apache/commons/codec/digest/Sha2Crypt.java
Rule Violation Line
CommentDefaultAccessModifier Missing commented default access modifier on field 'SHA256_PREFIX' 62
CommentDefaultAccessModifier Missing commented default access modifier on field 'SHA512_PREFIX' 68
PrematureDeclaration Declaration of 'keyLen' can be moved closer to its usages 173
PrematureDeclaration Declaration of 'rounds' can be moved closer to its usages 176
PrematureDeclaration Declaration of 'roundsCustom' can be moved closer to its usages 177
ShortVariable Avoid variables with short names like m 182
ConfusingTernary Avoid if (x != y) ..; else ..; 285289
ShortVariable Avoid variables with short names like cp 333
ConfusingTernary Avoid if (x != y) ..; else ..; 405409
ConfusingTernary Avoid if (x != y) ..; else ..; 432436
org/apache/commons/codec/digest/UnixCrypt.java
Rule Violation Line
LongVariable Avoid excessively long variable names like CRYPT_SALT_PATTERN 47
UseUnderscoresInNumericLiterals Number 10240 should separate every third digit with an underscore 119
UseUnderscoresInNumericLiterals Number 10242 should separate every third digit with an underscore 120
UseUnderscoresInNumericLiterals Number 10272 should separate every third digit with an underscore 121
UseUnderscoresInNumericLiterals Number 10274 should separate every third digit with an underscore 121
UseUnderscoresInNumericLiterals Number 16384 should separate every third digit with an underscore 153
UseUnderscoresInNumericLiterals Number 16648 should separate every third digit with an underscore 153
UseUnderscoresInNumericLiterals Number 16384 should separate every third digit with an underscore 153
UseUnderscoresInNumericLiterals Number 16640 should separate every third digit with an underscore 153
UseUnderscoresInNumericLiterals Number 16640 should separate every third digit with an underscore 154
UseUnderscoresInNumericLiterals Number 16392 should separate every third digit with an underscore 154
UseUnderscoresInNumericLiterals Number 16648 should separate every third digit with an underscore 154
UseUnderscoresInNumericLiterals Number 16392 should separate every third digit with an underscore 155
UseUnderscoresInNumericLiterals Number 16392 should separate every third digit with an underscore 155
UseUnderscoresInNumericLiterals Number 16384 should separate every third digit with an underscore 156
UseUnderscoresInNumericLiterals Number 16640 should separate every third digit with an underscore 156
UseUnderscoresInNumericLiterals Number 16648 should separate every third digit with an underscore 156
UseUnderscoresInNumericLiterals Number 16392 should separate every third digit with an underscore 157
UseUnderscoresInNumericLiterals Number 16384 should separate every third digit with an underscore 157
UseUnderscoresInNumericLiterals Number 16640 should separate every third digit with an underscore 157
UseUnderscoresInNumericLiterals Number 16648 should separate every third digit with an underscore 158
UseUnderscoresInNumericLiterals Number 32800 should separate every third digit with an underscore 171
UseUnderscoresInNumericLiterals Number 32800 should separate every third digit with an underscore 172
UseUnderscoresInNumericLiterals Number 32768 should separate every third digit with an underscore 172
UseUnderscoresInNumericLiterals Number 32768 should separate every third digit with an underscore 173
UseUnderscoresInNumericLiterals Number 32768 should separate every third digit with an underscore 174
UseUnderscoresInNumericLiterals Number 32800 should separate every third digit with an underscore 174
UseUnderscoresInNumericLiterals Number 32800 should separate every third digit with an underscore 176
UseUnderscoresInNumericLiterals Number 32768 should separate every third digit with an underscore 177
ShortVariable Avoid variables with short names like t 182
UseUnderscoresInNumericLiterals Number 65535 should separate every third digit with an underscore 206
ShortVariable Avoid variables with short names like b 218
ShortVariable Avoid variables with short names like b 279
ShortVariable Avoid variables with short names like i 283
ShortVariable Avoid variables with short names like y 284
ShortVariable Avoid variables with short names like u 285
ShortVariable Avoid variables with short names like j 287
ShortVariable Avoid variables with short names like c 288
ShortVariable Avoid variables with short names like el 335
ShortVariable Avoid variables with short names like r 335
ShortVariable Avoid variables with short names like s 335
ShortVariable Avoid variables with short names like e0 335
ShortVariable Avoid variables with short names like e1 335
ShortVariable Avoid variables with short names like v 336
ShortVariable Avoid variables with short names like u 337
ShortVariable Avoid variables with short names like t 340
ShortVariable Avoid variables with short names like c 350
ShortVariable Avoid variables with short names like d 351
ShortVariable Avoid variables with short names like j 369
ShortVariable Avoid variables with short names like s 380
ShortVariable Avoid variables with short names like t 383
ShortVariable Avoid variables with short names like b 394
ShortVariable Avoid variables with short names like a 402
ShortVariable Avoid variables with short names like n 402
ShortVariable Avoid variables with short names like m 402
ShortVariable Avoid variables with short names like t 403
ShortVariable Avoid variables with short names like b 407
ShortVariable Avoid variables with short names like a 414
ShortVariable Avoid variables with short names like b 414
ShortVariable Avoid variables with short names like n 414
ShortVariable Avoid variables with short names like m 414
ShortVariable Avoid variables with short names like t 415
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 428
org/apache/commons/codec/digest/XXHash32.java
Rule Violation Line
UseUnderscoresInNumericLiterals Number 2654435761L should separate every third digit with an underscore 43
UseUnderscoresInNumericLiterals Number 2246822519L should separate every third digit with an underscore 44
UseUnderscoresInNumericLiterals Number 3266489917L should separate every third digit with an underscore 45
UseUnderscoresInNumericLiterals Number 668265263 should separate every third digit with an underscore 46
UseUnderscoresInNumericLiterals Number 374761393 should separate every third digit with an underscore 47
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 62
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 63
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 66
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 68
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 69
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 71
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 74
ShortVariable Avoid variables with short names like b 132
ShortVariable Avoid variables with short names like s0 134
ShortVariable Avoid variables with short names like s1 135
ShortVariable Avoid variables with short names like s2 136
ShortVariable Avoid variables with short names like s3 137
ShortVariable Avoid variables with short names like b 161
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 163
ShortVariable Avoid variables with short names like b 202
org/apache/commons/codec/language/AbstractCaverphone.java
Rule Violation Line
AtLeastOneConstructor Each class should declare at least one constructor 34
org/apache/commons/codec/language/Caverphone.java
Rule Violation Line
AtLeastOneConstructor Each class should declare at least one constructor 35
org/apache/commons/codec/language/Caverphone1.java
Rule Violation Line
AtLeastOneConstructor Each class should declare at least one constructor 32
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 47
org/apache/commons/codec/language/Caverphone2.java
Rule Violation Line
AtLeastOneConstructor Each class should declare at least one constructor 32
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 47
org/apache/commons/codec/language/ColognePhonetic.java
Rule Violation Line
AtLeastOneConstructor Each class should declare at least one constructor 183
CommentDefaultAccessModifier Missing commented default access modifier on nested class 'CologneBuffer' 190
ShortVariable Avoid variables with short names like ch 243
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 279
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 280
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 281
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 282
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 283
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 284
ShortVariable Avoid variables with short names like SZ 286
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 286
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 288
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 290
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 292
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 300
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 319
ConfusingTernary Avoid if (x != y) ..; else ..; 333337
org/apache/commons/codec/language/DaitchMokotoffSoundex.java
Rule Violation Line
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 101
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 104
LongVariable Avoid excessively long variable names like replacementAtStart 162
LongVariable Avoid excessively long variable names like replacementBeforeVowel 163
LongVariable Avoid excessively long variable names like replacementDefault 164
LongVariable Avoid excessively long variable names like replacementAtStart 166
LongVariable Avoid excessively long variable names like replacementBeforeVowel 166
LongVariable Avoid excessively long variable names like replacementDefault 167
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 180
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 186
ShortVariable Avoid variables with short names like ch 192
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 207
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 209
LongVariable Avoid excessively long variable names like MULTILINE_COMMENT_END 211
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 211
LongVariable Avoid excessively long variable names like MULTILINE_COMMENT_START 213
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 213
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 216
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 219
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 222
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 225
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'scanner': resource specifications are implicitly final 228
LongVariable Avoid excessively long variable names like inMultilineComment 239
ShortVariable Avoid variables with short names like r 298
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 324
ShortVariable Avoid variables with short names like sb 358
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 415
ShortVariable Avoid variables with short names like sb 445
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 468
ShortVariable Avoid variables with short names like ch 478
org/apache/commons/codec/language/DoubleMetaphone.java
Rule Violation Line
AtLeastOneConstructor Each class should declare at least one constructor 37
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 119
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 123
LongVariable Avoid excessively long variable names like L_R_N_M_B_H_F_V_W_SPACE 125
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 125
LongVariable Avoid excessively long variable names like ES_EP_EB_EL_EY_IB_IL_IN_IE_EI_ER 127
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 127
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 130
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 156
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 165
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 175
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 179
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 189
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 192
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 195
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 198
ShortVariable Avoid variables with short names like c 200
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 210
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 214
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 236
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 250
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 276
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 449
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 507
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 512
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 517
ConfusingTernary Avoid if (x != y) ..; else ..; 565570
ShortVariable Avoid variables with short names like ch 980
org/apache/commons/codec/language/MatchRatingApproachEncoder.java
Rule Violation Line
AtLeastOneConstructor Each class should declare at least one constructor 33
CommentDefaultAccessModifier Missing commented default access modifier on method 'cleanName(String)' 78
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 121
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 129
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 138
CommentDefaultAccessModifier Missing commented default access modifier on method 'getFirst3Last3(String)' 159
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 165
CommentDefaultAccessModifier Missing commented default access modifier on method 'getMinRating(int)' 183
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 214
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 217
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 220
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 223
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 247
CommentDefaultAccessModifier Missing commented default access modifier on method 'isVowel(String)' 277
CommentDefaultAccessModifier Missing commented default access modifier on method 'leftToRightThenRightToLeftProcessing(String, String)' 295
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 338
CommentDefaultAccessModifier Missing commented default access modifier on method 'removeAccents(String)' 351
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 353
ShortVariable Avoid variables with short names like sb 356
ShortVariable Avoid variables with short names like n 357
ShortVariable Avoid variables with short names like c 360
CommentDefaultAccessModifier Missing commented default access modifier on method 'removeDoubleConsonants(String)' 384
CommentDefaultAccessModifier Missing commented default access modifier on method 'removeVowels(String)' 407
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 421
org/apache/commons/codec/language/Metaphone.java
Rule Violation Line
AtLeastOneConstructor Each class should declare at least one constructor 55
ShortVariable Avoid variables with short names like n 114
ShortVariable Avoid variables with short names like c 130
ShortVariable Avoid variables with short names like c 138
PrematureDeclaration Declaration of 'hard' can be moved closer to its usages 161
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 164
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 168
ShortVariable Avoid variables with short names like n 214
EmptyControlStatement Empty if statement 219368
org/apache/commons/codec/language/Nysiis.java
Rule Violation Line
ShortVariable Avoid variables with short names like c 102
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 123
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 128
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 136
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 138
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 140
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 143
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 145
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 152
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 157
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 162
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 167
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 174
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 252
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 259
org/apache/commons/codec/language/RefinedSoundex.java
Rule Violation Line
LongVariable Avoid excessively long variable names like US_ENGLISH_MAPPING_STRING 49
LongVariable Avoid excessively long variable names like US_ENGLISH_MAPPING 56
ShortVariable Avoid variables with short names like s1 126
ShortVariable Avoid variables with short names like s2 126
CommentDefaultAccessModifier Missing commented default access modifier on method 'getMappingCode(char)' 172
ShortVariable Avoid variables with short names like c 172
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 174
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 178
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 192
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 196
org/apache/commons/codec/language/Soundex.java
Rule Violation Line
LongVariable Avoid excessively long variable names like US_ENGLISH_MAPPING_STRING 61
LongVariable Avoid excessively long variable names like US_ENGLISH_MAPPING 69
LongVariable Avoid excessively long variable names like US_ENGLISH_SIMPLIFIED 93
LongVariable Avoid excessively long variable names like US_ENGLISH_GENEALOGY 110
ShortVariable Avoid variables with short names like s1 216
ShortVariable Avoid variables with short names like s2 216
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 269
ShortVariable Avoid variables with short names like ch 284
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 315
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 319
ShortVariable Avoid variables with short names like ch 327
org/apache/commons/codec/language/SoundexUtils.java
Rule Violation Line
CommentDefaultAccessModifier Missing commented default access modifier on method 'clean(String)' 40
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 42
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 53
CommentDefaultAccessModifier Missing commented default access modifier on method 'difference(StringEncoder, String, String)' 84
ShortVariable Avoid variables with short names like s1 84
ShortVariable Avoid variables with short names like s2 84
CommentDefaultAccessModifier Missing commented default access modifier on method 'differenceEncoded(String, String)' 108
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 111
CommentDefaultAccessModifier Missing commented default access modifier on method 'isEmpty(CharSequence)' 137
ShortVariable Avoid variables with short names like cs 137
org/apache/commons/codec/language/bm/BeiderMorseEncoder.java
Rule Violation Line
AtLeastOneConstructor Each class should declare at least one constructor 82
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 100
org/apache/commons/codec/language/bm/Lang.java
Rule Violation Line
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 102
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 104
LongVariable Avoid excessively long variable names like languageRulesResourceName 136
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'scanner': resource specifications are implicitly final 138139
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 184
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 186
ShortVariable Avoid variables with short names like ls 201
ShortVariable Avoid variables with short names like ls 224
org/apache/commons/codec/language/bm/Languages.java
Rule Violation Line
CommentDefaultAccessModifier Missing commented default access modifier on method 'merge(LanguageSet)' 85
CallSuperInConstructor It is a good practice to call super() in a constructor 96
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 127
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 130
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 141
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 144
LambdaCanBeMethodReference Lambda expression could be written as a method reference: `someLanguages.languages::contains` 147
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 157
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 159
LongVariable Avoid excessively long variable names like languagesResourceName 251
ShortVariable Avoid variables with short names like ls 253
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'lsScanner': resource specifications are implicitly final 254255
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 277
org/apache/commons/codec/language/bm/PhoneticEngine.java
Rule Violation Line
CommentDefaultAccessModifier Missing commented default access modifier on nested class 'PhonemeBuilder' 64
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 78
ShortVariable Avoid variables with short names like i 168
ShortVariable Avoid variables with short names like i 172
LongVariable Avoid excessively long variable names like DEFAULT_MAX_PHONEMES 226
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 226
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 228
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 255
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 257
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 259
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 261
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 263
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 315
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 391
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 399
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 438
org/apache/commons/codec/language/bm/ResourceConstants.java
Rule Violation Line
CommentDefaultAccessModifier Missing commented default access modifier on field 'CMT' 31
CommentDefaultAccessModifier Missing commented default access modifier on field 'ENCODING' 32
CommentDefaultAccessModifier Missing commented default access modifier on field 'EXT_CMT_END' 33
CommentDefaultAccessModifier Missing commented default access modifier on field 'EXT_CMT_START' 34
org/apache/commons/codec/language/bm/Rule.java
Rule Violation Line
ShortVariable Avoid variables with short names like c 96
LongVariable Avoid excessively long variable names like ALL_STRINGS_RMATCHER 221
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 221
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 223
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 225
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 227
LongVariable Avoid excessively long variable names like HASH_INCLUDE_LENGTH 229
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 229
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 231
ShortVariable Avoid variables with short names like rs 240
ShortVariable Avoid variables with short names like ls 242
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'scanner': resource specifications are implicitly final 244
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'scanner': resource specifications are implicitly final 251
ShortVariable Avoid variables with short names like rt 267
ShortVariable Avoid variables with short names like rt 273
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 289
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 293
ShortVariable Avoid variables with short names like rt 310
LambdaCanBeMethodReference Lambda expression could be written as a method reference: `allRules::addAll` 314
ShortVariable Avoid variables with short names like rt 329
ShortVariable Avoid variables with short names like rt 345
ShortVariable Avoid variables with short names like rt 363
ShortVariable Avoid variables with short names like ph 375
ShortVariable Avoid variables with short names like in 382
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 385
ShortVariable Avoid variables with short names like ph 390
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 405
LongVariable Avoid excessively long variable names like inMultilineComment 414
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'hashIncludeScanner': resource specifications are implicitly final 447
LongVariable Avoid excessively long variable names like hashIncludeScanner 447
ShortVariable Avoid variables with short names like ph 461
ShortVariable Avoid variables with short names like r 463
ShortVariable Avoid variables with short names like sb 469
ConfusingTernary Avoid if (x != y) ..; else ..; 507558
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 512
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 514
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 518
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 522
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 526
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 545
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 549
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 553554
CommentDefaultAccessModifier Missing commented default access modifier on field 'pattern' 561
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 573
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 577
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 595
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 597
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 599
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 601
ShortVariable Avoid variables with short names like i 669
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 679
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 685
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 688
org/apache/commons/codec/net/BCodec.java
Rule Violation Line
LongVariable Avoid excessively long variable names like DECODING_POLICY_DEFAULT 55
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 126
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 156
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 164
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 181
org/apache/commons/codec/net/PercentCodec.java
Rule Violation Line
LongVariable Avoid excessively long variable names like alwaysEncodeCharsMin 60
LongVariable Avoid excessively long variable names like alwaysEncodeCharsMax 60
ShortVariable Avoid variables with short names like c 85
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 92
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 105
ShortVariable Avoid variables with short names like b 109
ShortVariable Avoid variables with short names like u 112
ShortVariable Avoid variables with short names like l 113
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 137
ShortVariable Avoid variables with short names like bb 149
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 174
LongVariable Avoid excessively long variable names like expectedEncodingBytes 176
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 179
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 194
ShortVariable Avoid variables with short names like b 205
ShortVariable Avoid variables with short names like c 220
ShortVariable Avoid variables with short names like b 230
LongVariable Avoid excessively long variable names like alwaysEncodeCharsArray 248
ShortVariable Avoid variables with short names like c 257
org/apache/commons/codec/net/QCodec.java
Rule Violation Line
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 157
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 187
ShortVariable Avoid variables with short names like b 199
ConfusingTernary Avoid if (x != y) ..; else ..; 200204
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 206
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 214
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 239
ShortVariable Avoid variables with short names like b 316
org/apache/commons/codec/net/QuotedPrintableCodec.java
Rule Violation Line
ShortVariable Avoid variables with short names like CR 83
ShortVariable Avoid variables with short names like LF 85
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 126
ShortVariable Avoid variables with short names like b 130
ShortVariable Avoid variables with short names like u 137
ShortVariable Avoid variables with short names like l 138
ShortVariable Avoid variables with short names like b 162
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 164
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 206
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 216
ShortVariable Avoid variables with short names like b 223
ShortVariable Avoid variables with short names like b 241
ShortVariable Avoid variables with short names like b 261
UnnecessaryModifier Unnecessary modifier 'final' on method 'encodeQuotedPrintable': private methods cannot be overridden 284
ShortVariable Avoid variables with short names like b 284
ShortVariable Avoid variables with short names like b 304
ShortVariable Avoid variables with short names like b 318
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 325
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 330
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 427
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 430
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 469
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 490
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 525
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 528
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 574
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 597
org/apache/commons/codec/net/RFC1522Codec.java
Rule Violation Line
CommentDefaultAccessModifier Missing commented default access modifier on constructor 'RFC1522Codec(Charset)' 60
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 81
ShortVariable Avoid variables with short names like to 88
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 152
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 186
org/apache/commons/codec/net/URLCodec.java
Rule Violation Line
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 104
ShortVariable Avoid variables with short names like b 108
ShortVariable Avoid variables with short names like u 113
ShortVariable Avoid variables with short names like l 114
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 137
ShortVariable Avoid variables with short names like b 145
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 171
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 218
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 221
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 243
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 269
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 298
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 301
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 323
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 345
org/apache/commons/codec/net/Utils.java
Rule Violation Line
CommentDefaultAccessModifier Missing commented default access modifier on method 'digit16(byte)' 46
ShortVariable Avoid variables with short names like b 46
ShortVariable Avoid variables with short names like i 47
CommentDefaultAccessModifier Missing commented default access modifier on method 'hexDigit(int)' 60
ShortVariable Avoid variables with short names like b 60

Priority 4

org/apache/commons/codec/binary/Hex.java
Rule Violation Line
ShortClassName Avoid short class names like Hex 38
org/apache/commons/codec/binary/StringUtils.java
Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'newIllegalStateException' is already in scope 174
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'newIllegalStateException' is already in scope 315
org/apache/commons/codec/digest/B64.java
Rule Violation Line
ShortClassName Avoid short class names like B64 31
org/apache/commons/codec/digest/Blake3.java
Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Blake3': 'initHash' is already in scope 346
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Blake3': 'initKeyedHash' is already in scope 402
org/apache/commons/codec/digest/Md5Crypt.java
Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Md5Crypt': 'md5Crypt' is already in scope 123
org/apache/commons/codec/language/DaitchMokotoffSoundex.java
Rule Violation Line
ShortClassName Avoid short class names like Rule 160
org/apache/commons/codec/language/bm/Lang.java
Rule Violation Line
ShortClassName Avoid short class names like Lang 77
org/apache/commons/codec/language/bm/Rule.java
Rule Violation Line
ShortClassName Avoid short class names like Rule 85

Files

org/apache/commons/codec/CharEncoding.java

Rule Violation Priority Line
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 3 128

org/apache/commons/codec/Charsets.java

Rule Violation Priority Line
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 3 169

org/apache/commons/codec/DecoderException.java

Rule Violation Priority Line
CallSuperInConstructor It is a good practice to call super() in a constructor 3 39

org/apache/commons/codec/EncoderException.java

Rule Violation Priority Line
CallSuperInConstructor It is a good practice to call super() in a constructor 3 40

org/apache/commons/codec/Resources.java

Rule Violation Priority Line
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 3 49

org/apache/commons/codec/StringEncoderComparator.java

Rule Violation Priority Line
ShortVariable Avoid variables with short names like o1 3 73
ShortVariable Avoid variables with short names like o2 3 73
ShortVariable Avoid variables with short names like s1 3 80
ShortVariable Avoid variables with short names like s2 3 81

org/apache/commons/codec/binary/Base16.java

Rule Violation Priority Line
LongVariable Avoid excessively long variable names like BITS_PER_ENCODED_BYTE 3 48
LongVariable Avoid excessively long variable names like BYTES_PER_ENCODED_BLOCK 3 49
LongVariable Avoid excessively long variable names like BYTES_PER_UNENCODED_BLOCK 3 50
LongVariable Avoid excessively long variable names like UPPER_CASE_DECODE_TABLE 3 57
LongVariable Avoid excessively long variable names like UPPER_CASE_ENCODE_TABLE 3 71
LongVariable Avoid excessively long variable names like LOWER_CASE_DECODE_TABLE 3 78
LongVariable Avoid excessively long variable names like LOWER_CASE_ENCODE_TABLE 3 93
CommentDefaultAccessModifier Missing commented default access modifier on method 'decode(byte[], int, int, Context)' 3 149
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 155
ConfusingTernary Avoid if (x != y) ..; else ..; 3 158
CommentDefaultAccessModifier Missing commented default access modifier on method 'encode(byte[], int, int, Context)' 3 203
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 205

org/apache/commons/codec/binary/Base32.java

Rule Violation Priority Line
LongVariable Avoid excessively long variable names like BITS_PER_ENCODED_BYTE 3 84
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 84
LongVariable Avoid excessively long variable names like BYTES_PER_ENCODED_BLOCK 3 86
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 86
LongVariable Avoid excessively long variable names like BYTES_PER_UNENCODED_BLOCK 3 87
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 87
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 93
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 112
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 124
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 143
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 151
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 154
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 157
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 160
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 163
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 182
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 188
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 193
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 198
CommentDefaultAccessModifier Missing commented default access modifier on method 'decode(byte[], int, int, Context)' 3 402
ShortVariable Avoid variables with short names like b 3 412
CommentDefaultAccessModifier Missing commented default access modifier on method 'encode(byte[], int, int, Context)' 3 507
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 510
ShortVariable Avoid variables with short names like b 3 577
CommentDefaultAccessModifier Missing commented default access modifier on method 'getLineSeparator()' 3 607

org/apache/commons/codec/binary/Base64.java

Rule Violation Priority Line
LinguisticNaming Linguistics Antipattern - The setter 'setUrlSafe' should not return any type except void linguistically 3 97
LongVariable Avoid excessively long variable names like BITS_PER_ENCODED_BYTE 3 108
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 108
LongVariable Avoid excessively long variable names like BYTES_PER_UNENCODED_BLOCK 3 109
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 109
LongVariable Avoid excessively long variable names like BYTES_PER_ENCODED_BLOCK 3 110
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 110
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 111
LongVariable Avoid excessively long variable names like DECODING_TABLE_LENGTH 3 112
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 112
LongVariable Avoid excessively long variable names like STANDARD_ENCODE_TABLE 3 122
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 122
LongVariable Avoid excessively long variable names like URL_SAFE_ENCODE_TABLE 3 135
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 135
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 156
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 172
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 179
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 181
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 299
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 421
CommentDefaultAccessModifier Missing commented default access modifier on method 'toIntegerBytes(BigInteger)' 3 448
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 455
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 482
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 487
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 492
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 498
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 500
CommentDefaultAccessModifier Missing commented default access modifier on method 'decode(byte[], int, int, Context)' 3 744
ShortVariable Avoid variables with short names like b 3 754
CommentDefaultAccessModifier Missing commented default access modifier on method 'encode(byte[], int, int, Context)' 3 826
ShortVariable Avoid variables with short names like in 3 826
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 828
ShortVariable Avoid variables with short names like b 3 876
CommentDefaultAccessModifier Missing commented default access modifier on method 'getLineSeparator()' 3 902

org/apache/commons/codec/binary/BaseNCodec.java

Rule Violation Priority Line
LongVariable Avoid excessively long variable names like defaultEncodeTable 3 67
CommentDefaultAccessModifier Missing commented default access modifier on constructor 'AbstractBuilder(byte[])' 3 72
LongVariable Avoid excessively long variable names like defaultEncodeTable 3 72
CommentDefaultAccessModifier Missing commented default access modifier on method 'asThis()' 3 78
CommentDefaultAccessModifier Missing commented default access modifier on method 'getDecodingPolicy()' 3 82
CommentDefaultAccessModifier Missing commented default access modifier on method 'getEncodeTable()' 3 86
CommentDefaultAccessModifier Missing commented default access modifier on method 'getLineLength()' 3 90
CommentDefaultAccessModifier Missing commented default access modifier on method 'getLineSeparator()' 3 94
CommentDefaultAccessModifier Missing commented default access modifier on method 'getPadding()' 3 98
LinguisticNaming Linguistics Antipattern - The setter 'setDecodingPolicy' should not return any type except void linguistically 3 108
LinguisticNaming Linguistics Antipattern - The setter 'setEncodeTable' should not return any type except void linguistically 3 119
LinguisticNaming Linguistics Antipattern - The setter 'setLineLength' should not return any type except void linguistically 3 130
LinguisticNaming Linguistics Antipattern - The setter 'setLineSeparator' should not return any type except void linguistically 3 141
LinguisticNaming Linguistics Antipattern - The setter 'setPadding' should not return any type except void linguistically 3 152
CommentDefaultAccessModifier Missing commented default access modifier on nested class 'Context' 3 164
CommentDefaultAccessModifier Missing commented default access modifier on field 'ibitWorkArea' 3 170
CommentDefaultAccessModifier Missing commented default access modifier on field 'lbitWorkArea' 3 176
CommentDefaultAccessModifier Missing commented default access modifier on field 'buffer' 3 181
CommentDefaultAccessModifier Missing commented default access modifier on field 'pos' 3 186
CommentDefaultAccessModifier Missing commented default access modifier on field 'readPos' 3 191
CommentDefaultAccessModifier Missing commented default access modifier on field 'eof' 3 197
CommentDefaultAccessModifier Missing commented default access modifier on field 'currentLinePos' 3 203
CommentDefaultAccessModifier Missing commented default access modifier on field 'modulus' 3 209
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 229
CommentDefaultAccessModifier Missing commented default access modifier on field 'EOF' 3 229
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 241
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 253
LongVariable Avoid excessively long variable names like DEFAULT_BUFFER_RESIZE_FACTOR 3 255
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 255
LongVariable Avoid excessively long variable names like DEFAULT_BUFFER_SIZE 3 261
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 261
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 273
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 276
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 281
LongVariable Avoid excessively long variable names like DECODING_POLICY_DEFAULT 3 287
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 287
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 294
CommentDefaultAccessModifier Missing commented default access modifier on field 'CHUNK_SEPARATOR' 3 294
ShortVariable Avoid variables with short names like b 3 362
CommentDefaultAccessModifier Missing commented default access modifier on method 'toLength(byte[])' 3 373
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 381
FieldNamingConventions The final field name 'PAD' doesn't match '[a-z][a-zA-Z0-9]*' 1 381
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 384
LongVariable Avoid excessively long variable names like unencodedBlockSize 3 387
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 387
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 390
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 397
LongVariable Avoid excessively long variable names like chunkSeparatorLength 3 402
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 402
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 423
LongVariable Avoid excessively long variable names like unencodedBlockSize 3 437
LongVariable Avoid excessively long variable names like chunkSeparatorLength 3 437
LongVariable Avoid excessively long variable names like unencodedBlockSize 3 454
LongVariable Avoid excessively long variable names like chunkSeparatorLength 3 454
LongVariable Avoid excessively long variable names like unencodedBlockSize 3 473
LongVariable Avoid excessively long variable names like chunkSeparatorLength 3 473
CommentDefaultAccessModifier Missing commented default access modifier on method 'available(Context)' 3 490
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 507
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 524
CommentDefaultAccessModifier Missing commented default access modifier on method 'decode(byte[], int, int, Context)' 3 535
ShortVariable Avoid variables with short names like i 3 535
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 551
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 580
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 600
CommentDefaultAccessModifier Missing commented default access modifier on method 'encode(byte[], int, int, Context)' 3 611
ShortVariable Avoid variables with short names like i 3 611
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 673
CommentDefaultAccessModifier Missing commented default access modifier on method 'hasData(Context)' 3 728
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 755
CommentDefaultAccessModifier Missing commented default access modifier on method 'readResults(byte[], int, int, Context)' 3 807
ShortVariable Avoid variables with short names like b 3 807
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 819

org/apache/commons/codec/binary/BaseNCodecInputStream.java

Rule Violation Priority Line
ShortVariable Avoid variables with short names like r 3 126
ShortVariable Avoid variables with short names like b 3 131
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 132
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 166
ShortVariable Avoid variables with short names like c 3 190
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 200
ConfusingTernary Avoid if (x != y) ..; else ..; 3 200
ShortVariable Avoid variables with short names like n 3 228
ShortVariable Avoid variables with short names like b 3 233

org/apache/commons/codec/binary/BaseNCodecOutputStream.java

Rule Violation Priority Line
ShortVariable Avoid variables with short names like c 3 122
ShortVariable Avoid variables with short names like i 3 194

org/apache/commons/codec/binary/BinaryCodec.java

Rule Violation Priority Line
AtLeastOneConstructor Each class should declare at least one constructor 3 35
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 81
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 109
CommentDefaultAccessModifier Missing commented default access modifier on method 'isEmpty(byte[])' 3 135
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 150
LocalVariableNamingConventions The final local variable name 'l_ascii' doesn't match '[a-z][a-zA-Z0-9]*' 1 154
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 181
LocalVariableNamingConventions The final local variable name 'l_ascii' doesn't match '[a-z][a-zA-Z0-9]*' 1 185
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 240
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 243
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 246
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 295

org/apache/commons/codec/binary/CharSequenceUtils.java

Rule Violation Priority Line
CommentDefaultAccessModifier Missing commented default access modifier on method 'regionMatches(CharSequence, boolean, int, CharSequence, int, int)' 3 54
ShortVariable Avoid variables with short names like cs 3 54
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 57
ShortVariable Avoid variables with short names like c1 3 63
ShortVariable Avoid variables with short names like c2 3 64
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 69
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 74

org/apache/commons/codec/binary/Hex.java

Rule Violation Priority Line
ShortClassName Avoid short class names like Hex 4 38
LongVariable Avoid excessively long variable names like DEFAULT_CHARSET_NAME 3 52
ShortVariable Avoid variables with short names like f 3 102
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 348
ShortVariable Avoid variables with short names like ch 3 365
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 373
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 452
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 455
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 458

org/apache/commons/codec/binary/StringUtils.java

Rule Violation Priority Line
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 72
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 75
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 78
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 94
MethodNamingConventions The static method name 'getBytesIso8859_1' doesn't match '[a-z][a-zA-Z0-9]*' 1 144
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 169
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'newIllegalStateException' is already in scope 4 174
ShortVariable Avoid variables with short names like e 3 269
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 310
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'newIllegalStateException' is already in scope 4 315
MethodNamingConventions The static method name 'newStringIso8859_1' doesn't match '[a-z][a-zA-Z0-9]*' 1 331
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 3 421

org/apache/commons/codec/cli/Digest.java

Rule Violation Priority Line
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 57
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 58
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 59
LongVariable Avoid excessively long variable names like messageDigestAlgorithm 3 133
LongVariable Avoid excessively long variable names like messageDigestAlgorithm 3 138

org/apache/commons/codec/digest/B64.java

Rule Violation Priority Line
ShortClassName Avoid short class names like B64 4 31
CommentDefaultAccessModifier Missing commented default access modifier on field 'B64T_STRING' 3 36
CommentDefaultAccessModifier Missing commented default access modifier on field 'B64T_ARRAY' 3 41
CommentDefaultAccessModifier Missing commented default access modifier on method 'b64from24bit(byte, byte, byte, int, StringBuilder)' 3 57
ShortVariable Avoid variables with short names like b2 3 57
ShortVariable Avoid variables with short names like b1 3 57
ShortVariable Avoid variables with short names like b0 3 57
ShortVariable Avoid variables with short names like w 3 60
ShortVariable Avoid variables with short names like n 3 62
CommentDefaultAccessModifier Missing commented default access modifier on method 'getRandomSalt(int)' 3 78
CommentDefaultAccessModifier Missing commented default access modifier on method 'getRandomSalt(int, Random)' 3 92

org/apache/commons/codec/digest/Blake3.java

Rule Violation Priority Line
ShortVariable Avoid variables with short names like in 3 166
LongVariable Avoid excessively long variable names like parentNodesRemaining 3 191
ShortVariable Avoid variables with short names like cv 3 203
LongVariable Avoid excessively long variable names like inputChainingValue 3 220
LongVariable Avoid excessively long variable names like inputChainingValue 3 226
LongVariable Avoid excessively long variable names like outputBlockCounter 3 239
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 255
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 256
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 257
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 258
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 259
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 260
LongVariable Avoid excessively long variable names like CHAINING_VALUE_INTS 3 261
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 261
ShortVariable Avoid variables with short names like IV 3 266
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 266
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 269
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 270
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 271
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 272
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 273
LongVariable Avoid excessively long variable names like DERIVE_KEY_CONTEXT 3 274
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 274
LongVariable Avoid excessively long variable names like DERIVE_KEY_MATERIAL 3 275
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 275
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 281
ShortMethodName Avoid using short method names 3 327
ShortVariable Avoid variables with short names like a 3 327
ShortVariable Avoid variables with short names like b 3 327
ShortVariable Avoid variables with short names like c 3 327
ShortVariable Avoid variables with short names like d 3 327
ShortVariable Avoid variables with short names like mx 3 327
ShortVariable Avoid variables with short names like my 3 327
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Blake3': 'initHash' is already in scope 4 346
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Blake3': 'initKeyedHash' is already in scope 4 402
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 447
ShortVariable Avoid variables with short names like in 3 515
ShortVariable Avoid variables with short names like in 3 530

org/apache/commons/codec/digest/Crypt.java

Rule Violation Priority Line
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 75
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 78
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 81
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 84
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 3 180

org/apache/commons/codec/digest/DigestUtils.java

Rule Violation Priority Line
CommentDefaultAccessModifier Missing commented default access modifier on field 'BUFFER_SIZE' 3 63
LongVariable Avoid excessively long variable names like defaultMessageDigest 3 174
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 176
MethodNamingConventions The static method name 'getSha3_224Digest' doesn't match '[a-z][a-zA-Z0-9]*' 1 250
MethodNamingConventions The static method name 'getSha3_256Digest' doesn't match '[a-z][a-zA-Z0-9]*' 1 262
MethodNamingConventions The static method name 'getSha3_384Digest' doesn't match '[a-z][a-zA-Z0-9]*' 1 274
MethodNamingConventions The static method name 'getSha3_512Digest' doesn't match '[a-z][a-zA-Z0-9]*' 1 286
MethodNamingConventions The static method name 'getSha512_224Digest' doesn't match '[a-z][a-zA-Z0-9]*' 1 308
MethodNamingConventions The static method name 'getSha512_256Digest' doesn't match '[a-z][a-zA-Z0-9]*' 1 319
LongVariable Avoid excessively long variable names like messageDigestAlgorithm 3 353
MethodNamingConventions The static method name 'sha3_224' doesn't match '[a-z][a-zA-Z0-9]*' 1 669
MethodNamingConventions The static method name 'sha3_224' doesn't match '[a-z][a-zA-Z0-9]*' 1 681
MethodNamingConventions The static method name 'sha3_224' doesn't match '[a-z][a-zA-Z0-9]*' 1 692
MethodNamingConventions The static method name 'sha3_224Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1 703
MethodNamingConventions The static method name 'sha3_224Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1 715
MethodNamingConventions The static method name 'sha3_224Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1 726
MethodNamingConventions The static method name 'sha3_256' doesn't match '[a-z][a-zA-Z0-9]*' 1 737
MethodNamingConventions The static method name 'sha3_256' doesn't match '[a-z][a-zA-Z0-9]*' 1 749
MethodNamingConventions The static method name 'sha3_256' doesn't match '[a-z][a-zA-Z0-9]*' 1 760
MethodNamingConventions The static method name 'sha3_256Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1 771
MethodNamingConventions The static method name 'sha3_256Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1 783
MethodNamingConventions The static method name 'sha3_256Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1 794
MethodNamingConventions The static method name 'sha3_384' doesn't match '[a-z][a-zA-Z0-9]*' 1 805
MethodNamingConventions The static method name 'sha3_384' doesn't match '[a-z][a-zA-Z0-9]*' 1 817
MethodNamingConventions The static method name 'sha3_384' doesn't match '[a-z][a-zA-Z0-9]*' 1 828
MethodNamingConventions The static method name 'sha3_384Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1 839
MethodNamingConventions The static method name 'sha3_384Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1 851
MethodNamingConventions The static method name 'sha3_384Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1 862
MethodNamingConventions The static method name 'sha3_512' doesn't match '[a-z][a-zA-Z0-9]*' 1 873
MethodNamingConventions The static method name 'sha3_512' doesn't match '[a-z][a-zA-Z0-9]*' 1 885
MethodNamingConventions The static method name 'sha3_512' doesn't match '[a-z][a-zA-Z0-9]*' 1 896
MethodNamingConventions The static method name 'sha3_512Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1 907
MethodNamingConventions The static method name 'sha3_512Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1 919
MethodNamingConventions The static method name 'sha3_512Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1 930
MethodNamingConventions The static method name 'sha512_224' doesn't match '[a-z][a-zA-Z0-9]*' 1 1043
MethodNamingConventions The static method name 'sha512_224' doesn't match '[a-z][a-zA-Z0-9]*' 1 1055
MethodNamingConventions The static method name 'sha512_224' doesn't match '[a-z][a-zA-Z0-9]*' 1 1066
MethodNamingConventions The static method name 'sha512_224Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1 1077
MethodNamingConventions The static method name 'sha512_224Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1 1089
MethodNamingConventions The static method name 'sha512_224Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1 1100
MethodNamingConventions The static method name 'sha512_256' doesn't match '[a-z][a-zA-Z0-9]*' 1 1111
MethodNamingConventions The static method name 'sha512_256' doesn't match '[a-z][a-zA-Z0-9]*' 1 1123
MethodNamingConventions The static method name 'sha512_256' doesn't match '[a-z][a-zA-Z0-9]*' 1 1134
MethodNamingConventions The static method name 'sha512_256Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1 1145
MethodNamingConventions The static method name 'sha512_256Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1 1157
MethodNamingConventions The static method name 'sha512_256Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1 1168
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'inputStream': resource specifications are implicitly final 3 1280
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'inputStream': resource specifications are implicitly final 3 1338
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 1373

org/apache/commons/codec/digest/HmacUtils.java

Rule Violation Priority Line
LongVariable Avoid excessively long variable names like STREAM_BUFFER_LENGTH 3 60
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 788
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 804
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 873
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'stream': resource specifications are implicitly final 3 974

org/apache/commons/codec/digest/Md5Crypt.java

Rule Violation Priority Line
CommentDefaultAccessModifier Missing commented default access modifier on field 'APR1_PREFIX' 3 56
CommentDefaultAccessModifier Missing commented default access modifier on field 'MD5_PREFIX' 3 62
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Md5Crypt': 'md5Crypt' is already in scope 4 123
ShortVariable Avoid variables with short names like p 3 291
ShortVariable Avoid variables with short names like m 3 292
ShortVariable Avoid variables with short names like ii 3 325
ShortVariable Avoid variables with short names like j 3 340
ConfusingTernary Avoid if (x != y) ..; else ..; 3 362366
ConfusingTernary Avoid if (x != y) ..; else ..; 3 376380
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 3 413

org/apache/commons/codec/digest/MurmurHash2.java

Rule Violation Priority Line
UnnecessaryCast Unnecessary cast (long) 3 83
UnnecessaryCast Unnecessary cast (long) 3 84
UnnecessaryCast Unnecessary cast (long) 3 85
UnnecessaryCast Unnecessary cast (long) 3 86
UnnecessaryCast Unnecessary cast (long) 3 87
UnnecessaryCast Unnecessary cast (long) 3 88
UnnecessaryCast Unnecessary cast (long) 3 89
UnnecessaryCast Unnecessary cast (long) 3 90
ShortVariable Avoid variables with short names like h 3 121
ShortVariable Avoid variables with short names like k 3 129
ShortVariable Avoid variables with short names like h 3 229
ShortVariable Avoid variables with short names like k 3 236
UnnecessaryCast Unnecessary cast (long) 3 249
UnnecessaryCast Unnecessary cast (long) 3 251
UnnecessaryCast Unnecessary cast (long) 3 253
UnnecessaryCast Unnecessary cast (long) 3 255
UnnecessaryCast Unnecessary cast (long) 3 257
UnnecessaryCast Unnecessary cast (long) 3 259
UnnecessaryCast Unnecessary cast (long) 3 261

org/apache/commons/codec/digest/MurmurHash3.java

Rule Violation Priority Line
CommentDefaultAccessModifier Missing commented default access modifier on method 'finalise(int, int, byte[], int)' 3 87
ShortVariable Avoid variables with short names like k1 3 92
ShortVariable Avoid variables with short names like b1 3 139
ShortVariable Avoid variables with short names like b2 3 139
ShortVariable Avoid variables with short names like b3 3 139
ShortVariable Avoid variables with short names like b4 3 139
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 144
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 147
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 150
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 156
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 168
ShortVariable Avoid variables with short names like k 3 195
ShortVariable Avoid variables with short names like k 3 224
CommentDefaultAccessModifier Missing commented default access modifier on method 'finalise(int, int, byte[], int)' 3 257
ShortVariable Avoid variables with short names like k1 3 259
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 298
UseUnderscoresInNumericLiterals Number 2862933555777941757L should separate every third digit with an underscore 3 298
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 303
UseUnderscoresInNumericLiterals Number 104729 should separate every third digit with an underscore 3 303
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 305
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 306
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 307
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 308
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 310
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 311
ShortVariable Avoid variables with short names like C1 3 313
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 313
ShortVariable Avoid variables with short names like C2 3 314
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 314
ShortVariable Avoid variables with short names like R1 3 315
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 315
ShortVariable Avoid variables with short names like R2 3 316
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 316
ShortVariable Avoid variables with short names like R3 3 317
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 317
ShortVariable Avoid variables with short names like M 3 318
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 318
ShortVariable Avoid variables with short names like N1 3 320
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 320
ShortVariable Avoid variables with short names like N2 3 322
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 322
UnnecessaryCast Unnecessary cast (long) 3 376
UnnecessaryCast Unnecessary cast (long) 3 377
UnnecessaryCast Unnecessary cast (long) 3 378
UnnecessaryCast Unnecessary cast (long) 3 379
UnnecessaryCast Unnecessary cast (long) 3 380
UnnecessaryCast Unnecessary cast (long) 3 381
UnnecessaryCast Unnecessary cast (long) 3 382
UnnecessaryCast Unnecessary cast (long) 3 383
ShortVariable Avoid variables with short names like h1 3 516
ShortVariable Avoid variables with short names like h2 3 517
ShortVariable Avoid variables with short names like k1 3 523
ShortVariable Avoid variables with short names like k2 3 524
ShortVariable Avoid variables with short names like k1 3 546
ShortVariable Avoid variables with short names like k2 3 547
UnnecessaryCast Unnecessary cast (long) 3 551
UnnecessaryCast Unnecessary cast (long) 3 553
UnnecessaryCast Unnecessary cast (long) 3 555
UnnecessaryCast Unnecessary cast (long) 3 557
UnnecessaryCast Unnecessary cast (long) 3 559
UnnecessaryCast Unnecessary cast (long) 3 561
UnnecessaryCast Unnecessary cast (long) 3 570
UnnecessaryCast Unnecessary cast (long) 3 572
UnnecessaryCast Unnecessary cast (long) 3 574
UnnecessaryCast Unnecessary cast (long) 3 576
UnnecessaryCast Unnecessary cast (long) 3 578
UnnecessaryCast Unnecessary cast (long) 3 580
UnnecessaryCast Unnecessary cast (long) 3 582
ShortVariable Avoid variables with short names like k 3 706
ShortVariable Avoid variables with short names like k1 3 715
ShortVariable Avoid variables with short names like r0 3 773
ShortVariable Avoid variables with short names like r0 3 824
ShortVariable Avoid variables with short names like r1 3 825
ShortVariable Avoid variables with short names like k 3 906
ShortVariable Avoid variables with short names like k1 3 912
ShortVariable Avoid variables with short names like k 3 1036
ShortVariable Avoid variables with short names like k1 3 1047
UnnecessaryCast Unnecessary cast (long) 3 1051
UnnecessaryCast Unnecessary cast (long) 3 1053
UnnecessaryCast Unnecessary cast (long) 3 1055
UnnecessaryCast Unnecessary cast (long) 3 1057
UnnecessaryCast Unnecessary cast (long) 3 1059
UnnecessaryCast Unnecessary cast (long) 3 1061
UnnecessaryCast Unnecessary cast (long) 3 1063
ShortVariable Avoid variables with short names like k1 3 1106
ShortVariable Avoid variables with short names like k 3 1149
ShortVariable Avoid variables with short names like k1 3 1193
UnnecessaryCast Unnecessary cast (long) 3 1194
UnnecessaryCast Unnecessary cast (long) 3 1195
ShortVariable Avoid variables with short names like k 3 1213

org/apache/commons/codec/digest/PureJavaCrc32.java

Rule Violation Priority Line
ShortVariable Avoid variables with short names like T 3 53
ShortVariable Avoid variables with short names like b 3 601
ShortVariable Avoid variables with short names like i 3 605
ShortVariable Avoid variables with short names like x 3 607
ShortVariable Avoid variables with short names like b 3 642

org/apache/commons/codec/digest/PureJavaCrc32C.java

Rule Violation Priority Line
ShortVariable Avoid variables with short names like T 3 55
ShortVariable Avoid variables with short names like b 3 599
ShortVariable Avoid variables with short names like c0 3 603
ShortVariable Avoid variables with short names like c1 3 604
ShortVariable Avoid variables with short names like c2 3 605
ShortVariable Avoid variables with short names like c3 3 606
ShortVariable Avoid variables with short names like c4 3 609
ShortVariable Avoid variables with short names like c5 3 610
ShortVariable Avoid variables with short names like c6 3 611
ShortVariable Avoid variables with short names like c7 3 612
ShortVariable Avoid variables with short names like b 3 645

org/apache/commons/codec/digest/Sha2Crypt.java

Rule Violation Priority Line
CommentDefaultAccessModifier Missing commented default access modifier on field 'SHA256_PREFIX' 3 62
CommentDefaultAccessModifier Missing commented default access modifier on field 'SHA512_PREFIX' 3 68
PrematureDeclaration Declaration of 'keyLen' can be moved closer to its usages 3 173
PrematureDeclaration Declaration of 'rounds' can be moved closer to its usages 3 176
PrematureDeclaration Declaration of 'roundsCustom' can be moved closer to its usages 3 177
ShortVariable Avoid variables with short names like m 3 182
ConfusingTernary Avoid if (x != y) ..; else ..; 3 285289
ShortVariable Avoid variables with short names like cp 3 333
ConfusingTernary Avoid if (x != y) ..; else ..; 3 405409
ConfusingTernary Avoid if (x != y) ..; else ..; 3 432436

org/apache/commons/codec/digest/UnixCrypt.java

Rule Violation Priority Line
LongVariable Avoid excessively long variable names like CRYPT_SALT_PATTERN 3 47
UseUnderscoresInNumericLiterals Number 10240 should separate every third digit with an underscore 3 119
UseUnderscoresInNumericLiterals Number 10242 should separate every third digit with an underscore 3 120
UseUnderscoresInNumericLiterals Number 10272 should separate every third digit with an underscore 3 121
UseUnderscoresInNumericLiterals Number 10274 should separate every third digit with an underscore 3 121
UseUnderscoresInNumericLiterals Number 16384 should separate every third digit with an underscore 3 153
UseUnderscoresInNumericLiterals Number 16648 should separate every third digit with an underscore 3 153
UseUnderscoresInNumericLiterals Number 16384 should separate every third digit with an underscore 3 153
UseUnderscoresInNumericLiterals Number 16640 should separate every third digit with an underscore 3 153
UseUnderscoresInNumericLiterals Number 16640 should separate every third digit with an underscore 3 154
UseUnderscoresInNumericLiterals Number 16392 should separate every third digit with an underscore 3 154
UseUnderscoresInNumericLiterals Number 16648 should separate every third digit with an underscore 3 154
UseUnderscoresInNumericLiterals Number 16392 should separate every third digit with an underscore 3 155
UseUnderscoresInNumericLiterals Number 16392 should separate every third digit with an underscore 3 155
UseUnderscoresInNumericLiterals Number 16384 should separate every third digit with an underscore 3 156
UseUnderscoresInNumericLiterals Number 16640 should separate every third digit with an underscore 3 156
UseUnderscoresInNumericLiterals Number 16648 should separate every third digit with an underscore 3 156
UseUnderscoresInNumericLiterals Number 16392 should separate every third digit with an underscore 3 157
UseUnderscoresInNumericLiterals Number 16384 should separate every third digit with an underscore 3 157
UseUnderscoresInNumericLiterals Number 16640 should separate every third digit with an underscore 3 157
UseUnderscoresInNumericLiterals Number 16648 should separate every third digit with an underscore 3 158
UseUnderscoresInNumericLiterals Number 32800 should separate every third digit with an underscore 3 171
UseUnderscoresInNumericLiterals Number 32800 should separate every third digit with an underscore 3 172
UseUnderscoresInNumericLiterals Number 32768 should separate every third digit with an underscore 3 172
UseUnderscoresInNumericLiterals Number 32768 should separate every third digit with an underscore 3 173
UseUnderscoresInNumericLiterals Number 32768 should separate every third digit with an underscore 3 174
UseUnderscoresInNumericLiterals Number 32800 should separate every third digit with an underscore 3 174
UseUnderscoresInNumericLiterals Number 32800 should separate every third digit with an underscore 3 176
UseUnderscoresInNumericLiterals Number 32768 should separate every third digit with an underscore 3 177
ShortVariable Avoid variables with short names like t 3 182
UseUnderscoresInNumericLiterals Number 65535 should separate every third digit with an underscore 3 206
ShortVariable Avoid variables with short names like b 3 218
ShortVariable Avoid variables with short names like b 3 279
ShortVariable Avoid variables with short names like i 3 283
ShortVariable Avoid variables with short names like y 3 284
ShortVariable Avoid variables with short names like u 3 285
ShortVariable Avoid variables with short names like j 3 287
ShortVariable Avoid variables with short names like c 3 288
ShortVariable Avoid variables with short names like el 3 335
ShortVariable Avoid variables with short names like r 3 335
ShortVariable Avoid variables with short names like s 3 335
ShortVariable Avoid variables with short names like e0 3 335
ShortVariable Avoid variables with short names like e1 3 335
ShortVariable Avoid variables with short names like v 3 336
ShortVariable Avoid variables with short names like u 3 337
ShortVariable Avoid variables with short names like t 3 340
ShortVariable Avoid variables with short names like c 3 350
ShortVariable Avoid variables with short names like d 3 351
ShortVariable Avoid variables with short names like j 3 369
ShortVariable Avoid variables with short names like s 3 380
ShortVariable Avoid variables with short names like t 3 383
ShortVariable Avoid variables with short names like b 3 394
ShortVariable Avoid variables with short names like a 3 402
ShortVariable Avoid variables with short names like n 3 402
ShortVariable Avoid variables with short names like m 3 402
ShortVariable Avoid variables with short names like t 3 403
ShortVariable Avoid variables with short names like b 3 407
ShortVariable Avoid variables with short names like a 3 414
ShortVariable Avoid variables with short names like b 3 414
ShortVariable Avoid variables with short names like n 3 414
ShortVariable Avoid variables with short names like m 3 414
ShortVariable Avoid variables with short names like t 3 415
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 3 428

org/apache/commons/codec/digest/XXHash32.java

Rule Violation Priority Line
UseUnderscoresInNumericLiterals Number 2654435761L should separate every third digit with an underscore 3 43
UseUnderscoresInNumericLiterals Number 2246822519L should separate every third digit with an underscore 3 44
UseUnderscoresInNumericLiterals Number 3266489917L should separate every third digit with an underscore 3 45
UseUnderscoresInNumericLiterals Number 668265263 should separate every third digit with an underscore 3 46
UseUnderscoresInNumericLiterals Number 374761393 should separate every third digit with an underscore 3 47
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 62
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 63
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 66
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 68
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 69
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 71
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 74
ShortVariable Avoid variables with short names like b 3 132
ShortVariable Avoid variables with short names like s0 3 134
ShortVariable Avoid variables with short names like s1 3 135
ShortVariable Avoid variables with short names like s2 3 136
ShortVariable Avoid variables with short names like s3 3 137
ShortVariable Avoid variables with short names like b 3 161
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 163
ShortVariable Avoid variables with short names like b 3 202

org/apache/commons/codec/language/AbstractCaverphone.java

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

org/apache/commons/codec/language/Caverphone.java

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

org/apache/commons/codec/language/Caverphone1.java

Rule Violation Priority Line
AtLeastOneConstructor Each class should declare at least one constructor 3 32
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 47

org/apache/commons/codec/language/Caverphone2.java

Rule Violation Priority Line
AtLeastOneConstructor Each class should declare at least one constructor 3 32
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 47

org/apache/commons/codec/language/ColognePhonetic.java

Rule Violation Priority Line
AtLeastOneConstructor Each class should declare at least one constructor 3 183
CommentDefaultAccessModifier Missing commented default access modifier on nested class 'CologneBuffer' 3 190
ShortVariable Avoid variables with short names like ch 3 243
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 279
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 280
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 281
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 282
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 283
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 284
ShortVariable Avoid variables with short names like SZ 3 286
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 286
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 288
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 290
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 292
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 300
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 319
ConfusingTernary Avoid if (x != y) ..; else ..; 3 333337

org/apache/commons/codec/language/DaitchMokotoffSoundex.java

Rule Violation Priority Line
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 101
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 104
ShortClassName Avoid short class names like Rule 4 160
LongVariable Avoid excessively long variable names like replacementAtStart 3 162
LongVariable Avoid excessively long variable names like replacementBeforeVowel 3 163
LongVariable Avoid excessively long variable names like replacementDefault 3 164
LongVariable Avoid excessively long variable names like replacementAtStart 3 166
LongVariable Avoid excessively long variable names like replacementBeforeVowel 3 166
LongVariable Avoid excessively long variable names like replacementDefault 3 167
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 180
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 186
ShortVariable Avoid variables with short names like ch 3 192
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 207
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 209
LongVariable Avoid excessively long variable names like MULTILINE_COMMENT_END 3 211
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 211
LongVariable Avoid excessively long variable names like MULTILINE_COMMENT_START 3 213
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 213
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 216
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 219
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 222
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 225
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'scanner': resource specifications are implicitly final 3 228
LongVariable Avoid excessively long variable names like inMultilineComment 3 239
ShortVariable Avoid variables with short names like r 3 298
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 324
ShortVariable Avoid variables with short names like sb 3 358
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 415
ShortVariable Avoid variables with short names like sb 3 445
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 468
ShortVariable Avoid variables with short names like ch 3 478

org/apache/commons/codec/language/DoubleMetaphone.java

Rule Violation Priority Line
AtLeastOneConstructor Each class should declare at least one constructor 3 37
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 119
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 123
LongVariable Avoid excessively long variable names like L_R_N_M_B_H_F_V_W_SPACE 3 125
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 125
LongVariable Avoid excessively long variable names like ES_EP_EB_EL_EY_IB_IL_IN_IE_EI_ER 3 127
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 127
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 130
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 156
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 165
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 175
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 179
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 189
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 192
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 195
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 198
ShortVariable Avoid variables with short names like c 3 200
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 210
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 214
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 236
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 250
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 276
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 449
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 507
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 512
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 517
ConfusingTernary Avoid if (x != y) ..; else ..; 3 565570
ShortVariable Avoid variables with short names like ch 3 980

org/apache/commons/codec/language/MatchRatingApproachEncoder.java

Rule Violation Priority Line
AtLeastOneConstructor Each class should declare at least one constructor 3 33
CommentDefaultAccessModifier Missing commented default access modifier on method 'cleanName(String)' 3 78
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 121
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 129
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 138
CommentDefaultAccessModifier Missing commented default access modifier on method 'getFirst3Last3(String)' 3 159
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 165
CommentDefaultAccessModifier Missing commented default access modifier on method 'getMinRating(int)' 3 183
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 214
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 217
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 220
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 223
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 247
CommentDefaultAccessModifier Missing commented default access modifier on method 'isVowel(String)' 3 277
CommentDefaultAccessModifier Missing commented default access modifier on method 'leftToRightThenRightToLeftProcessing(String, String)' 3 295
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 338
CommentDefaultAccessModifier Missing commented default access modifier on method 'removeAccents(String)' 3 351
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 353
ShortVariable Avoid variables with short names like sb 3 356
ShortVariable Avoid variables with short names like n 3 357
ShortVariable Avoid variables with short names like c 3 360
CommentDefaultAccessModifier Missing commented default access modifier on method 'removeDoubleConsonants(String)' 3 384
CommentDefaultAccessModifier Missing commented default access modifier on method 'removeVowels(String)' 3 407
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 421

org/apache/commons/codec/language/Metaphone.java

Rule Violation Priority Line
AtLeastOneConstructor Each class should declare at least one constructor 3 55
ShortVariable Avoid variables with short names like n 3 114
ShortVariable Avoid variables with short names like c 3 130
ShortVariable Avoid variables with short names like c 3 138
PrematureDeclaration Declaration of 'hard' can be moved closer to its usages 3 161
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 164
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 168
ShortVariable Avoid variables with short names like n 3 214
EmptyControlStatement Empty if statement 3 219368

org/apache/commons/codec/language/Nysiis.java

Rule Violation Priority Line
ShortVariable Avoid variables with short names like c 3 102
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 123
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 128
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 136
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 138
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 140
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 143
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 145
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 152
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 157
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 162
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 167
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 174
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 252
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 259

org/apache/commons/codec/language/RefinedSoundex.java

Rule Violation Priority Line
LongVariable Avoid excessively long variable names like US_ENGLISH_MAPPING_STRING 3 49
LongVariable Avoid excessively long variable names like US_ENGLISH_MAPPING 3 56
ShortVariable Avoid variables with short names like s1 3 126
ShortVariable Avoid variables with short names like s2 3 126
CommentDefaultAccessModifier Missing commented default access modifier on method 'getMappingCode(char)' 3 172
ShortVariable Avoid variables with short names like c 3 172
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 174
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 178
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 192
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 196

org/apache/commons/codec/language/Soundex.java

Rule Violation Priority Line
LongVariable Avoid excessively long variable names like US_ENGLISH_MAPPING_STRING 3 61
LongVariable Avoid excessively long variable names like US_ENGLISH_MAPPING 3 69
LongVariable Avoid excessively long variable names like US_ENGLISH_SIMPLIFIED 3 93
LongVariable Avoid excessively long variable names like US_ENGLISH_GENEALOGY 3 110
ShortVariable Avoid variables with short names like s1 3 216
ShortVariable Avoid variables with short names like s2 3 216
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 269
ShortVariable Avoid variables with short names like ch 3 284
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 315
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 319
ShortVariable Avoid variables with short names like ch 3 327

org/apache/commons/codec/language/SoundexUtils.java

Rule Violation Priority Line
CommentDefaultAccessModifier Missing commented default access modifier on method 'clean(String)' 3 40
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 42
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 53
CommentDefaultAccessModifier Missing commented default access modifier on method 'difference(StringEncoder, String, String)' 3 84
ShortVariable Avoid variables with short names like s1 3 84
ShortVariable Avoid variables with short names like s2 3 84
CommentDefaultAccessModifier Missing commented default access modifier on method 'differenceEncoded(String, String)' 3 108
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 111
CommentDefaultAccessModifier Missing commented default access modifier on method 'isEmpty(CharSequence)' 3 137
ShortVariable Avoid variables with short names like cs 3 137

org/apache/commons/codec/language/bm/BeiderMorseEncoder.java

Rule Violation Priority Line
AtLeastOneConstructor Each class should declare at least one constructor 3 82
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 100

org/apache/commons/codec/language/bm/Lang.java

Rule Violation Priority Line
ShortClassName Avoid short class names like Lang 4 77
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 102
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 104
LongVariable Avoid excessively long variable names like languageRulesResourceName 3 136
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'scanner': resource specifications are implicitly final 3 138139
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 184
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 186
ShortVariable Avoid variables with short names like ls 3 201
ShortVariable Avoid variables with short names like ls 3 224

org/apache/commons/codec/language/bm/Languages.java

Rule Violation Priority Line
CommentDefaultAccessModifier Missing commented default access modifier on method 'merge(LanguageSet)' 3 85
CallSuperInConstructor It is a good practice to call super() in a constructor 3 96
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 127
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 130
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 141
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 144
LambdaCanBeMethodReference Lambda expression could be written as a method reference: `someLanguages.languages::contains` 3 147
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 157
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 159
LongVariable Avoid excessively long variable names like languagesResourceName 3 251
ShortVariable Avoid variables with short names like ls 3 253
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'lsScanner': resource specifications are implicitly final 3 254255
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 277

org/apache/commons/codec/language/bm/PhoneticEngine.java

Rule Violation Priority Line
CommentDefaultAccessModifier Missing commented default access modifier on nested class 'PhonemeBuilder' 3 64
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 78
ShortVariable Avoid variables with short names like i 3 168
ShortVariable Avoid variables with short names like i 3 172
LongVariable Avoid excessively long variable names like DEFAULT_MAX_PHONEMES 3 226
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 226
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 228
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 255
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 257
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 259
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 261
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 263
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 315
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 391
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 399
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 438

org/apache/commons/codec/language/bm/ResourceConstants.java

Rule Violation Priority Line
CommentDefaultAccessModifier Missing commented default access modifier on field 'CMT' 3 31
CommentDefaultAccessModifier Missing commented default access modifier on field 'ENCODING' 3 32
CommentDefaultAccessModifier Missing commented default access modifier on field 'EXT_CMT_END' 3 33
CommentDefaultAccessModifier Missing commented default access modifier on field 'EXT_CMT_START' 3 34

org/apache/commons/codec/language/bm/Rule.java

Rule Violation Priority Line
ShortClassName Avoid short class names like Rule 4 85
ShortVariable Avoid variables with short names like c 3 96
LongVariable Avoid excessively long variable names like ALL_STRINGS_RMATCHER 3 221
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 221
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 223
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 225
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 227
LongVariable Avoid excessively long variable names like HASH_INCLUDE_LENGTH 3 229
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 229
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 231
ShortVariable Avoid variables with short names like rs 3 240
ShortVariable Avoid variables with short names like ls 3 242
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'scanner': resource specifications are implicitly final 3 244
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'scanner': resource specifications are implicitly final 3 251
ShortVariable Avoid variables with short names like rt 3 267
ShortVariable Avoid variables with short names like rt 3 273
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 289
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 293
ShortVariable Avoid variables with short names like rt 3 310
LambdaCanBeMethodReference Lambda expression could be written as a method reference: `allRules::addAll` 3 314
ShortVariable Avoid variables with short names like rt 3 329
ShortVariable Avoid variables with short names like rt 3 345
ShortVariable Avoid variables with short names like rt 3 363
ShortVariable Avoid variables with short names like ph 3 375
ShortVariable Avoid variables with short names like in 3 382
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 385
ShortVariable Avoid variables with short names like ph 3 390
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 405
LongVariable Avoid excessively long variable names like inMultilineComment 3 414
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'hashIncludeScanner': resource specifications are implicitly final 3 447
LongVariable Avoid excessively long variable names like hashIncludeScanner 3 447
ShortVariable Avoid variables with short names like ph 3 461
ShortVariable Avoid variables with short names like r 3 463
ShortVariable Avoid variables with short names like sb 3 469
ConfusingTernary Avoid if (x != y) ..; else ..; 3 507558
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 512
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 514
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 518
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 522
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 526
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 545
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 549
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 553554
CommentDefaultAccessModifier Missing commented default access modifier on field 'pattern' 3 561
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 573
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 577
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 595
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 597
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 599
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 601
ShortVariable Avoid variables with short names like i 3 669
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 679
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 685
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 688

org/apache/commons/codec/net/BCodec.java

Rule Violation Priority Line
LongVariable Avoid excessively long variable names like DECODING_POLICY_DEFAULT 3 55
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 126
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 156
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 164
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 181

org/apache/commons/codec/net/PercentCodec.java

Rule Violation Priority Line
LongVariable Avoid excessively long variable names like alwaysEncodeCharsMin 3 60
LongVariable Avoid excessively long variable names like alwaysEncodeCharsMax 3 60
ShortVariable Avoid variables with short names like c 3 85
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 92
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 105
ShortVariable Avoid variables with short names like b 3 109
ShortVariable Avoid variables with short names like u 3 112
ShortVariable Avoid variables with short names like l 3 113
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 137
ShortVariable Avoid variables with short names like bb 3 149
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 174
LongVariable Avoid excessively long variable names like expectedEncodingBytes 3 176
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 179
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 194
ShortVariable Avoid variables with short names like b 3 205
ShortVariable Avoid variables with short names like c 3 220
ShortVariable Avoid variables with short names like b 3 230
LongVariable Avoid excessively long variable names like alwaysEncodeCharsArray 3 248
ShortVariable Avoid variables with short names like c 3 257

org/apache/commons/codec/net/QCodec.java

Rule Violation Priority Line
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 157
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 187
ShortVariable Avoid variables with short names like b 3 199
ConfusingTernary Avoid if (x != y) ..; else ..; 3 200204
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 206
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 214
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 239
ShortVariable Avoid variables with short names like b 3 316

org/apache/commons/codec/net/QuotedPrintableCodec.java

Rule Violation Priority Line
ShortVariable Avoid variables with short names like CR 3 83
ShortVariable Avoid variables with short names like LF 3 85
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 126
ShortVariable Avoid variables with short names like b 3 130
ShortVariable Avoid variables with short names like u 3 137
ShortVariable Avoid variables with short names like l 3 138
ShortVariable Avoid variables with short names like b 3 162
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 164
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 206
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 216
ShortVariable Avoid variables with short names like b 3 223
ShortVariable Avoid variables with short names like b 3 241
ShortVariable Avoid variables with short names like b 3 261
UnnecessaryModifier Unnecessary modifier 'final' on method 'encodeQuotedPrintable': private methods cannot be overridden 3 284
ShortVariable Avoid variables with short names like b 3 284
ShortVariable Avoid variables with short names like b 3 304
ShortVariable Avoid variables with short names like b 3 318
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 325
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 330
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 427
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 430
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 469
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 490
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 525
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 528
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 574
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 597

org/apache/commons/codec/net/RFC1522Codec.java

Rule Violation Priority Line
CommentDefaultAccessModifier Missing commented default access modifier on constructor 'RFC1522Codec(Charset)' 3 60
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 81
ShortVariable Avoid variables with short names like to 3 88
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 152
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 186

org/apache/commons/codec/net/URLCodec.java

Rule Violation Priority Line
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 104
ShortVariable Avoid variables with short names like b 3 108
ShortVariable Avoid variables with short names like u 3 113
ShortVariable Avoid variables with short names like l 3 114
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 137
ShortVariable Avoid variables with short names like b 3 145
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 171
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 218
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 221
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 243
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 269
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 298
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 301
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 323
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 345

org/apache/commons/codec/net/Utils.java

Rule Violation Priority Line
CommentDefaultAccessModifier Missing commented default access modifier on method 'digit16(byte)' 3 46
ShortVariable Avoid variables with short names like b 3 46
ShortVariable Avoid variables with short names like i 3 47
CommentDefaultAccessModifier Missing commented default access modifier on method 'hexDigit(int)' 3 60
ShortVariable Avoid variables with short names like b 3 60