Apache Commons logo Commons Codec

PMD Results

The following document contains the results of PMD 7.27.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]*' 541

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]*' 146
MethodNamingConventions The static method name 'newStringIso8859_1' doesn't match '[a-z][a-zA-Z0-9]*' 332

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]*' 255
MethodNamingConventions The static method name 'getSha3_256Digest' doesn't match '[a-z][a-zA-Z0-9]*' 267
MethodNamingConventions The static method name 'getSha3_384Digest' doesn't match '[a-z][a-zA-Z0-9]*' 279
MethodNamingConventions The static method name 'getSha3_512Digest' doesn't match '[a-z][a-zA-Z0-9]*' 291
MethodNamingConventions The static method name 'getSha512_224Digest' doesn't match '[a-z][a-zA-Z0-9]*' 313
MethodNamingConventions The static method name 'getSha512_256Digest' doesn't match '[a-z][a-zA-Z0-9]*' 324
MethodNamingConventions The static method name 'getShake128_256Digest' doesn't match '[a-z][a-zA-Z0-9]*' 363
MethodNamingConventions The static method name 'getShake256_512Digest' doesn't match '[a-z][a-zA-Z0-9]*' 379
MethodNamingConventions The static method name 'sha3_224' doesn't match '[a-z][a-zA-Z0-9]*' 706
MethodNamingConventions The static method name 'sha3_224' doesn't match '[a-z][a-zA-Z0-9]*' 718
MethodNamingConventions The static method name 'sha3_224' doesn't match '[a-z][a-zA-Z0-9]*' 729
MethodNamingConventions The static method name 'sha3_224Hex' doesn't match '[a-z][a-zA-Z0-9]*' 740
MethodNamingConventions The static method name 'sha3_224Hex' doesn't match '[a-z][a-zA-Z0-9]*' 752
MethodNamingConventions The static method name 'sha3_224Hex' doesn't match '[a-z][a-zA-Z0-9]*' 763
MethodNamingConventions The static method name 'sha3_256' doesn't match '[a-z][a-zA-Z0-9]*' 774
MethodNamingConventions The static method name 'sha3_256' doesn't match '[a-z][a-zA-Z0-9]*' 786
MethodNamingConventions The static method name 'sha3_256' doesn't match '[a-z][a-zA-Z0-9]*' 797
MethodNamingConventions The static method name 'sha3_256Hex' doesn't match '[a-z][a-zA-Z0-9]*' 808
MethodNamingConventions The static method name 'sha3_256Hex' doesn't match '[a-z][a-zA-Z0-9]*' 820
MethodNamingConventions The static method name 'sha3_256Hex' doesn't match '[a-z][a-zA-Z0-9]*' 831
MethodNamingConventions The static method name 'sha3_384' doesn't match '[a-z][a-zA-Z0-9]*' 842
MethodNamingConventions The static method name 'sha3_384' doesn't match '[a-z][a-zA-Z0-9]*' 854
MethodNamingConventions The static method name 'sha3_384' doesn't match '[a-z][a-zA-Z0-9]*' 865
MethodNamingConventions The static method name 'sha3_384Hex' doesn't match '[a-z][a-zA-Z0-9]*' 876
MethodNamingConventions The static method name 'sha3_384Hex' doesn't match '[a-z][a-zA-Z0-9]*' 888
MethodNamingConventions The static method name 'sha3_384Hex' doesn't match '[a-z][a-zA-Z0-9]*' 899
MethodNamingConventions The static method name 'sha3_512' doesn't match '[a-z][a-zA-Z0-9]*' 910
MethodNamingConventions The static method name 'sha3_512' doesn't match '[a-z][a-zA-Z0-9]*' 922
MethodNamingConventions The static method name 'sha3_512' doesn't match '[a-z][a-zA-Z0-9]*' 933
MethodNamingConventions The static method name 'sha3_512Hex' doesn't match '[a-z][a-zA-Z0-9]*' 944
MethodNamingConventions The static method name 'sha3_512Hex' doesn't match '[a-z][a-zA-Z0-9]*' 956
MethodNamingConventions The static method name 'sha3_512Hex' doesn't match '[a-z][a-zA-Z0-9]*' 967
MethodNamingConventions The static method name 'sha512_224' doesn't match '[a-z][a-zA-Z0-9]*' 1080
MethodNamingConventions The static method name 'sha512_224' doesn't match '[a-z][a-zA-Z0-9]*' 1092
MethodNamingConventions The static method name 'sha512_224' doesn't match '[a-z][a-zA-Z0-9]*' 1103
MethodNamingConventions The static method name 'sha512_224Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1114
MethodNamingConventions The static method name 'sha512_224Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1126
MethodNamingConventions The static method name 'sha512_224Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1137
MethodNamingConventions The static method name 'sha512_256' doesn't match '[a-z][a-zA-Z0-9]*' 1148
MethodNamingConventions The static method name 'sha512_256' doesn't match '[a-z][a-zA-Z0-9]*' 1160
MethodNamingConventions The static method name 'sha512_256' doesn't match '[a-z][a-zA-Z0-9]*' 1171
MethodNamingConventions The static method name 'sha512_256Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1182
MethodNamingConventions The static method name 'sha512_256Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1194
MethodNamingConventions The static method name 'sha512_256Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1205
MethodNamingConventions The static method name 'shake128_256' doesn't match '[a-z][a-zA-Z0-9]*' 1291
MethodNamingConventions The static method name 'shake128_256' doesn't match '[a-z][a-zA-Z0-9]*' 1303
MethodNamingConventions The static method name 'shake128_256' doesn't match '[a-z][a-zA-Z0-9]*' 1314
MethodNamingConventions The static method name 'shake128_256Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1325
MethodNamingConventions The static method name 'shake128_256Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1337
MethodNamingConventions The static method name 'shake128_256Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1348
MethodNamingConventions The static method name 'shake256_512' doesn't match '[a-z][a-zA-Z0-9]*' 1359
MethodNamingConventions The static method name 'shake256_512' doesn't match '[a-z][a-zA-Z0-9]*' 1371
MethodNamingConventions The static method name 'shake256_512' doesn't match '[a-z][a-zA-Z0-9]*' 1382
MethodNamingConventions The static method name 'shake256_512Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1393
MethodNamingConventions The static method name 'shake256_512Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1405
MethodNamingConventions The static method name 'shake256_512Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1416

Priority 3

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/StringEncoderComparator.java

Rule Violation Line
ShortVariable Avoid variables with short names like o1 69
ShortVariable Avoid variables with short names like o2 69
ShortVariable Avoid variables with short names like s1 74
ShortVariable Avoid variables with short names like s2 75

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

Rule Violation Line
CommentDefaultAccessModifier Missing commented default access modifier on method 'asThis()' 43
LinguisticNaming Linguistics Antipattern - The setter 'setBaseNCodec' should not return any type except void linguistically 78
LinguisticNaming Linguistics Antipattern - The setter 'setEncode' should not return any type except void linguistically 89

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

Rule Violation Line
LongVariable Avoid excessively long variable names like BITS_PER_ENCODED_BYTE 110
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 110
LongVariable Avoid excessively long variable names like BYTES_PER_ENCODED_BLOCK 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 BYTES_PER_UNENCODED_BLOCK 114
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 114
LongVariable Avoid excessively long variable names like UPPER_CASE_DECODE_TABLE 121
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 121
LongVariable Avoid excessively long variable names like UPPER_CASE_ENCODE_TABLE 135
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 135
LongVariable Avoid excessively long variable names like LOWER_CASE_DECODE_TABLE 142
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 142
LongVariable Avoid excessively long variable names like LOWER_CASE_ENCODE_TABLE 157
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
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 177
ShortVariable Avoid variables with short names like b 189
CommentDefaultAccessModifier Missing commented default access modifier on method 'decode(byte[], int, int, Context)' 238
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 244
ConfusingTernary Avoid if (x != y) ..; else ..; 247
ShortVariable Avoid variables with short names like b 282
CommentDefaultAccessModifier Missing commented default access modifier on method 'encode(byte[], int, int, Context)' 293
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 295
ShortVariable Avoid variables with short names like b 324

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

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

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

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

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

Rule Violation Line
LongVariable Avoid excessively long variable names like BITS_PER_ENCODED_BYTE 154
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 154
LongVariable Avoid excessively long variable names like BYTES_PER_ENCODED_BLOCK 156
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 156
LongVariable Avoid excessively long variable names like BYTES_PER_UNENCODED_BLOCK 157
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 157
LongVariable Avoid excessively long variable names like DECODING_TABLE_LENGTH 158
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 158
LongVariable Avoid excessively long variable names like ENCODING_TABLE_LENGTH 159
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 159
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 166
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 187
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 199
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. 229
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 232
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 235
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 238
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 241
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 326
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 335
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 340
CommentDefaultAccessModifier Missing commented default access modifier on method 'decode(byte[], int, int, Context)' 576
ShortVariable Avoid variables with short names like b 589
CommentDefaultAccessModifier Missing commented default access modifier on method 'encode(byte[], int, int, Context)' 689
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 692
ShortVariable Avoid variables with short names like b 759
CommentDefaultAccessModifier Missing commented default access modifier on method 'getLineSeparator()' 789

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

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

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

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

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

Rule Violation Line
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 178
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 183
LongVariable Avoid excessively long variable names like BYTES_PER_ENCODED_BLOCK 188
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 188
CommentDefaultAccessModifier Missing commented default access modifier on field 'BYTES_PER_ENCODED_BLOCK' 188
LongVariable Avoid excessively long variable names like TAIL_ENCODED_BLOCK 190
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 190
LongVariable Avoid excessively long variable names like BYTES_PER_UNENCODED_BLOCK 195
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 195
CommentDefaultAccessModifier Missing commented default access modifier on field 'BYTES_PER_UNENCODED_BLOCK' 195
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 201
CommentDefaultAccessModifier Missing commented default access modifier on field 'DECODE_TABLE' 201
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 221
CommentDefaultAccessModifier Missing commented default access modifier on field 'ENCODE_TABLE' 221
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 271
CommentDefaultAccessModifier Missing commented default access modifier on method 'decode(byte[], int, int, Context)' 311
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 314
ShortVariable Avoid variables with short names like b 341
CommentDefaultAccessModifier Missing commented default access modifier on method 'encode(byte[], int, int, Context)' 392
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 395
ShortVariable Avoid variables with short names like n 402
ShortVariable Avoid variables with short names like b 410
ShortVariable Avoid variables with short names like n 419
ShortVariable Avoid variables with short names like n 441
ConfusingTernary Avoid if (x != y) ..; else ..; 442
ShortVariable Avoid variables with short names like v 453
LongVariable Avoid excessively long variable names like allowWhitespacePad 468
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 471

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

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

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

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

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

Rule Violation Line
CommentDefaultAccessModifier Missing commented default access modifier on method 'getMaxDecodeLength()' 86
CommentDefaultAccessModifier Missing commented default access modifier on method 'getMaxEncodeLength()' 90
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 165
LongVariable Avoid excessively long variable names like DECODING_TABLE_LENGTH 167
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 167
LongVariable Avoid excessively long variable names like ENCODING_TABLE_LENGTH 168
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 168
LongVariable Avoid excessively long variable names like DEFAULT_MAX_DECODE_LENGTH 178
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 178
LongVariable Avoid excessively long variable names like DEFAULT_MAX_ENCODE_LENGTH 188
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. 194
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 206
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 271
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. 284
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 313
ShortVariable Avoid variables with short names like b 384
ShortVariable Avoid variables with short names like w 405
CommentDefaultAccessModifier Missing commented default access modifier on method 'decode(byte[], int, int, Context)' 460
CommentDefaultAccessModifier Missing commented default access modifier on method 'encode(byte[], int, int, Context)' 476

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

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

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

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

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

Rule Violation Line
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 148
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 154
LongVariable Avoid excessively long variable names like BITS_PER_ENCODED_BYTE 229
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 229
LongVariable Avoid excessively long variable names like BYTES_PER_UNENCODED_BLOCK 230
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 230
LongVariable Avoid excessively long variable names like BYTES_PER_ENCODED_BLOCK 231
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 231
LongVariable Avoid excessively long variable names like DECODING_TABLE_LENGTH 232
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 232
LongVariable Avoid excessively long variable names like STANDARD_ENCODE_TABLE 242
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 242
LongVariable Avoid excessively long variable names like URL_SAFE_ENCODE_TABLE 255
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. 277
LongVariable Avoid excessively long variable names like STANDARD_DECODE_TABLE 295
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 295
LongVariable Avoid excessively long variable names like URL_SAFE_DECODE_TABLE 314
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 314
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 331
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 338
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 341
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 393
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 595
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 717
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 778
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 841
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 872
CommentDefaultAccessModifier Missing commented default access modifier on method 'toUrlSafeEncodeTable(boolean)' 877
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 884
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 889
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 890
LongVariable Avoid excessively long variable names like isStandardEncodeTable 891
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 891
CommentDefaultAccessModifier Missing commented default access modifier on method 'decode(byte[], int, int, Context)' 1078
ShortVariable Avoid variables with short names like b 1090
CommentDefaultAccessModifier Missing commented default access modifier on method 'encode(byte[], int, int, Context)' 1164
ShortVariable Avoid variables with short names like in 1164
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 1166
ShortVariable Avoid variables with short names like b 1214
CommentDefaultAccessModifier Missing commented default access modifier on method 'getLineSeparator()' 1240

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

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

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

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

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

Rule Violation Line
CommentDefaultAccessModifier Missing commented default access modifier on method 'clone(byte[], byte[])' 92
LongVariable Avoid excessively long variable names like unencodedBlockSize 96
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 96
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 97
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 98
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 99
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 100
LongVariable Avoid excessively long variable names like defaultEncodeTable 101
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 101
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. 103
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 106
CommentDefaultAccessModifier Missing commented default access modifier on constructor 'AbstractBuilder(byte[])' 108
LongVariable Avoid excessively long variable names like defaultEncodeTable 108
CommentDefaultAccessModifier Missing commented default access modifier on method 'asThis()' 126
CommentDefaultAccessModifier Missing commented default access modifier on method 'getDecodeTable()' 130
CommentDefaultAccessModifier Missing commented default access modifier on method 'getDecodingPolicy()' 134
CommentDefaultAccessModifier Missing commented default access modifier on method 'getEncodedBlockSize()' 138
CommentDefaultAccessModifier Missing commented default access modifier on method 'getEncodeTable()' 142
CommentDefaultAccessModifier Missing commented default access modifier on method 'getLineLength()' 146
CommentDefaultAccessModifier Missing commented default access modifier on method 'getLineSeparator()' 150
CommentDefaultAccessModifier Missing commented default access modifier on method 'getPadding()' 154
CommentDefaultAccessModifier Missing commented default access modifier on method 'getUnencodedBlockSize()' 158
LinguisticNaming Linguistics Antipattern - The setter 'setDecodeTable' should not return any type except void linguistically 169
LinguisticNaming Linguistics Antipattern - The setter 'setDecodeTableRaw' should not return any type except void linguistically 180
CommentDefaultAccessModifier Missing commented default access modifier on method 'setDecodeTableRaw(byte[])' 180
LinguisticNaming Linguistics Antipattern - The setter 'setDecodingPolicy' should not return any type except void linguistically 191
LinguisticNaming Linguistics Antipattern - The setter 'setEncodedBlockSize' should not return any type except void linguistically 202
CommentDefaultAccessModifier Missing commented default access modifier on method 'setEncodedBlockSize(int)' 202
LinguisticNaming Linguistics Antipattern - The setter 'setEncodeTable' should not return any type except void linguistically 213
LinguisticNaming Linguistics Antipattern - The setter 'setEncodeTableRaw' should not return any type except void linguistically 224
CommentDefaultAccessModifier Missing commented default access modifier on method 'setEncodeTableRaw(byte[])' 224
LinguisticNaming Linguistics Antipattern - The setter 'setLineLength' should not return any type except void linguistically 235
LinguisticNaming Linguistics Antipattern - The setter 'setLineSeparator' should not return any type except void linguistically 246
LinguisticNaming Linguistics Antipattern - The setter 'setPadding' should not return any type except void linguistically 257
LinguisticNaming Linguistics Antipattern - The setter 'setUnencodedBlockSize' should not return any type except void linguistically 268
CommentDefaultAccessModifier Missing commented default access modifier on method 'setUnencodedBlockSize(int)' 268
LongVariable Avoid excessively long variable names like unencodedBlockSize 268
CommentDefaultAccessModifier Missing commented default access modifier on nested class 'Context' 279
CommentDefaultAccessModifier Missing commented default access modifier on field 'ibitWorkArea' 284
CommentDefaultAccessModifier Missing commented default access modifier on field 'lbitWorkArea' 289
CommentDefaultAccessModifier Missing commented default access modifier on field 'buffer' 294
CommentDefaultAccessModifier Missing commented default access modifier on field 'pos' 299
CommentDefaultAccessModifier Missing commented default access modifier on field 'readPos' 304
CommentDefaultAccessModifier Missing commented default access modifier on field 'eof' 309
CommentDefaultAccessModifier Missing commented default access modifier on field 'currentLinePos' 315
CommentDefaultAccessModifier Missing commented default access modifier on field 'modulus' 320
CommentDefaultAccessModifier Missing commented default access modifier on field 'strictPadding' 325
LongVariable Avoid excessively long variable names like strictSeparatorPos 330
CommentDefaultAccessModifier Missing commented default access modifier on field 'strictSeparatorPos' 330
CommentDefaultAccessModifier Missing commented default access modifier on field 'strictFinalLine' 335
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 354
CommentDefaultAccessModifier Missing commented default access modifier on field 'EOF' 354
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 365
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 376
LongVariable Avoid excessively long variable names like DEFAULT_BUFFER_RESIZE_FACTOR 377
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 377
LongVariable Avoid excessively long variable names like DEFAULT_BUFFER_SIZE 382
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 382
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 393
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 396
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 401
LongVariable Avoid excessively long variable names like DECODING_POLICY_DEFAULT 408
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 408
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 415
CommentDefaultAccessModifier Missing commented default access modifier on field 'CHUNK_SEPARATOR' 415
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 420
CommentDefaultAccessModifier Missing commented default access modifier on field 'EMPTY_BYTE_ARRAY' 420
CommentDefaultAccessModifier Missing commented default access modifier on method 'code(boolean, BaseNCodec, byte[], int, int, Context)' 422
ShortVariable Avoid variables with short names like b 508
CommentDefaultAccessModifier Missing commented default access modifier on method 'toUnsignedBytes(BigInteger)' 522
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 541
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 544
LongVariable Avoid excessively long variable names like unencodedBlockSize 547
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 547
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 550
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 556
LongVariable Avoid excessively long variable names like chunkSeparatorLength 561
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 561
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 566
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 571
CommentDefaultAccessModifier Missing commented default access modifier on field 'decodeTable' 571
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 576
CommentDefaultAccessModifier Missing commented default access modifier on field 'encodeTable' 576
LongVariable Avoid excessively long variable names like unencodedBlockSize 610
LongVariable Avoid excessively long variable names like chunkSeparatorLength 610
LongVariable Avoid excessively long variable names like unencodedBlockSize 629
LongVariable Avoid excessively long variable names like chunkSeparatorLength 629
LongVariable Avoid excessively long variable names like unencodedBlockSize 650
LongVariable Avoid excessively long variable names like chunkSeparatorLength 650
CommentDefaultAccessModifier Missing commented default access modifier on method 'available(Context)' 669
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 707
CommentDefaultAccessModifier Missing commented default access modifier on method 'decode(byte[], int, int, Context)' 728
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 747
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 781
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 798
CommentDefaultAccessModifier Missing commented default access modifier on method 'encode(byte[], int, int, Context)' 819
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 876
CommentDefaultAccessModifier Missing commented default access modifier on method 'hasData(Context)' 927
LongVariable Avoid excessively long variable names like allowWhitespacePad 946
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 949
CommentDefaultAccessModifier Missing commented default access modifier on method 'readResults(byte[], int, int, Context)' 993
ShortVariable Avoid variables with short names like b 993
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 1005
CommentDefaultAccessModifier Missing commented default access modifier on method 'validateCanonicalByte(int, byte[], boolean, Context)' 1020
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 1034
CommentDefaultAccessModifier Missing commented default access modifier on method 'validateCanonicalEnd(boolean, Context)' 1063

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

Rule Violation Line
CallSuperInConstructor It is a good practice to call super() in a constructor 61
LinguisticNaming Linguistics Antipattern - The setter 'setByteArray' should not return any type except void linguistically 81
LinguisticNaming Linguistics Antipattern - The setter 'setInputStream' should not return any type except void linguistically 91
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 97
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 98
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 99
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 100
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 101
ShortVariable Avoid variables with short names like r 195
ShortVariable Avoid variables with short names like b 200
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 201
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 224
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 245
ConfusingTernary Avoid if (x != y) ..; else ..; 245
ShortVariable Avoid variables with short names like n 271
ShortVariable Avoid variables with short names like b 276

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

Rule Violation Line
CallSuperInConstructor It is a good practice to call super() in a constructor 65
LinguisticNaming Linguistics Antipattern - The setter 'setOutputStream' should not return any type except void linguistically 84
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 90
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 91
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 92
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 93
ShortVariable Avoid variables with short names like c 175
ShortVariable Avoid variables with short names like i 229

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

Rule Violation Line
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 84
ShortVariable Avoid variables with short names like b 89
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 123
ShortVariable Avoid variables with short names like c 128
CommentDefaultAccessModifier Missing commented default access modifier on method 'isEmpty(byte[])' 154
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 167
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 196
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 272
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 275
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 326

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)' 48
ShortVariable Avoid variables with short names like cs 48
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 51
ShortVariable Avoid variables with short names like c1 57
ShortVariable Avoid variables with short names like c2 58
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 63
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 68

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

Rule Violation Line
LongVariable Avoid excessively long variable names like DEFAULT_CHARSET_NAME 59
ShortVariable Avoid variables with short names like f 109
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 365
ShortVariable Avoid variables with short names like ch 388
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 405
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 486
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 489
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 492

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 96
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 171
ShortVariable Avoid variables with short names like e 270
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 311

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. 58
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 59
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 60
LongVariable Avoid excessively long variable names like messageDigestAlgorithm 122
LongVariable Avoid excessively long variable names like messageDigestAlgorithm 127

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)' 58
ShortVariable Avoid variables with short names like b2 58
ShortVariable Avoid variables with short names like b1 58
ShortVariable Avoid variables with short names like b0 58
ShortVariable Avoid variables with short names like w 61
ShortVariable Avoid variables with short names like n 63
CommentDefaultAccessModifier Missing commented default access modifier on method 'getRandomSalt(int)' 80
CommentDefaultAccessModifier Missing commented default access modifier on method 'getRandomSalt(int, Random)' 95

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

Rule Violation Line
ShortVariable Avoid variables with short names like in 173
LongVariable Avoid excessively long variable names like parentNodesRemaining 198
ShortVariable Avoid variables with short names like cv 210
LongVariable Avoid excessively long variable names like inputChainingValue 227
LongVariable Avoid excessively long variable names like inputChainingValue 233
LongVariable Avoid excessively long variable names like outputBlockCounter 246
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 262
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 263
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 264
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 265
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. 267
LongVariable Avoid excessively long variable names like CHAINING_VALUE_INTS 268
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 268
ShortVariable Avoid variables with short names like IV 273
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. 277
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 278
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
LongVariable Avoid excessively long variable names like DERIVE_KEY_CONTEXT 281
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 DERIVE_KEY_MATERIAL 282
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. 288
ShortMethodName Avoid using short method names 334
ShortVariable Avoid variables with short names like a 334
ShortVariable Avoid variables with short names like b 334
ShortVariable Avoid variables with short names like c 334
ShortVariable Avoid variables with short names like d 334
ShortVariable Avoid variables with short names like mx 334
ShortVariable Avoid variables with short names like my 334
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 454
ShortVariable Avoid variables with short names like in 543
ShortVariable Avoid variables with short names like in 562

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

Rule Violation Line
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 114
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 148
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 149
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 183
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. 218
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. 220
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. 222
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. 224
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. 226
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 227
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. 229
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 230
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 265
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. 267
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 268
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 535
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 536
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 537
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 538
ShortVariable Avoid variables with short names like b 566
ShortVariable Avoid variables with short names like b 574

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 68
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 71
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 74
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 77

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

Rule Violation Line
CommentDefaultAccessModifier Missing commented default access modifier on field 'BUFFER_SIZE' 69
LongVariable Avoid excessively long variable names like defaultMessageDigest 179
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 181
LongVariable Avoid excessively long variable names like messageDigestAlgorithm 390
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 1545

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

Rule Violation Line
CommentDefaultAccessModifier Missing commented default access modifier on nested class 'DirectoryEntry' 81
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 100
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 105
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 114
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 119
CommentDefaultAccessModifier Missing commented default access modifier on constructor 'DirectoryEntry(String, FileMode, byte[])' 128
ShortVariable Avoid variables with short names like o 136
ShortVariable Avoid variables with short names like a 137
ShortVariable Avoid variables with short names like b 138
ConfusingTernary Avoid if (x != y) ..; else ..; 146
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
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 231
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 253
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 254
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 255
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 475

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

Rule Violation Line
LongVariable Avoid excessively long variable names like STREAM_BUFFER_LENGTH 61
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 657
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 712

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

Rule Violation Line
CommentDefaultAccessModifier Missing commented default access modifier on field 'APR1_PREFIX' 58
CommentDefaultAccessModifier Missing commented default access modifier on field 'MD5_PREFIX' 64
ShortVariable Avoid variables with short names like p 251
ShortVariable Avoid variables with short names like m 252
LongVariable Avoid excessively long variable names like altMessageDigestMd5 275
ShortVariable Avoid variables with short names like ii 280
ShortVariable Avoid variables with short names like j 293
ConfusingTernary Avoid if (x != y) ..; else ..; 313–317
ConfusingTernary Avoid if (x != y) ..; else ..; 324–328

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

Rule Violation Line
CommentDefaultAccessModifier Missing commented default access modifier on method 'getLittleEndianInt(byte[], int)' 32
CommentDefaultAccessModifier Missing commented default access modifier on method 'getLittleEndianLong(byte[], int)' 48

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

Rule Violation Line
ShortVariable Avoid variables with short names like h 97
ShortVariable Avoid variables with short names like k 103
ShortVariable Avoid variables with short names like h 202
ShortVariable Avoid variables with short names like k 207

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

Rule Violation Line
CallSuperInConstructor It is a good practice to call super() in a constructor 86
CommentDefaultAccessModifier Missing commented default access modifier on method 'finalise(int, int, byte[], int)' 103
ShortVariable Avoid variables with short names like k1 106
ShortVariable Avoid variables with short names like b1 155
ShortVariable Avoid variables with short names like b2 155
ShortVariable Avoid variables with short names like b3 155
ShortVariable Avoid variables with short names like b4 155
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. 166
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 172
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 191
ShortVariable Avoid variables with short names like k 216
ShortVariable Avoid variables with short names like k 244
CommentDefaultAccessModifier Missing commented default access modifier on method 'finalise(int, int, byte[], int)' 276
ShortVariable Avoid variables with short names like k1 278
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 317
UseUnderscoresInNumericLiterals Number 2862933555777941757L should separate every third digit with an underscore 317
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 323
UseUnderscoresInNumericLiterals Number 104729 should separate every third digit with an underscore 323
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. 326
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 327
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 328
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 330
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 331
ShortVariable Avoid variables with short names like C1 333
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 333
ShortVariable Avoid variables with short names like C2 334
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 334
ShortVariable Avoid variables with short names like R1 335
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 335
ShortVariable Avoid variables with short names like R2 336
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 336
ShortVariable Avoid variables with short names like R3 337
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 337
ShortVariable Avoid variables with short names like M 338
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 338
ShortVariable Avoid variables with short names like N1 340
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 340
ShortVariable Avoid variables with short names like N2 342
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 342
ShortVariable Avoid variables with short names like h1 512
ShortVariable Avoid variables with short names like h2 513
ShortVariable Avoid variables with short names like k1 518
ShortVariable Avoid variables with short names like k2 519
ShortVariable Avoid variables with short names like k1 538
ShortVariable Avoid variables with short names like k2 539
ShortVariable Avoid variables with short names like k 718
ShortVariable Avoid variables with short names like k1 724
ShortVariable Avoid variables with short names like r0 782
ShortVariable Avoid variables with short names like r0 833
ShortVariable Avoid variables with short names like r1 834
ShortVariable Avoid variables with short names like k 918
ShortVariable Avoid variables with short names like k1 923
ShortVariable Avoid variables with short names like k 1059
ShortVariable Avoid variables with short names like k1 1068
ShortVariable Avoid variables with short names like k1 1135
ShortVariable Avoid variables with short names like k 1181
ShortVariable Avoid variables with short names like k1 1229
ShortVariable Avoid variables with short names like k 1248

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

Rule Violation Line
ShortVariable Avoid variables with short names like T 54
ShortVariable Avoid variables with short names like b 602
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 645

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 602
ShortVariable Avoid variables with short names like c1 603
ShortVariable Avoid variables with short names like c2 604
ShortVariable Avoid variables with short names like c3 605
ShortVariable Avoid variables with short names like c4 607
ShortVariable Avoid variables with short names like c5 608
ShortVariable Avoid variables with short names like c6 609
ShortVariable Avoid variables with short names like c7 610
ShortVariable Avoid variables with short names like b 644

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

Rule Violation Line
CommentDefaultAccessModifier Missing commented default access modifier on field 'KEY_MAX_PROPERTY' 56
LongVariable Avoid excessively long variable names like ROUNDS_MAX_DEFAULT 65
LongVariable Avoid excessively long variable names like ROUNDS_MAX_PROPERTY 74
CommentDefaultAccessModifier Missing commented default access modifier on field 'ROUNDS_MAX_PROPERTY' 74
CommentDefaultAccessModifier Missing commented default access modifier on field 'SHA256_PREFIX' 80
CommentDefaultAccessModifier Missing commented default access modifier on field 'SHA512_PREFIX' 86
PrematureDeclaration Declaration of 'rounds' can be moved closer to its usages 217
PrematureDeclaration Declaration of 'roundsCustom' can be moved closer to its usages 218
ShortVariable Avoid variables with short names like m 222
ConfusingTernary Avoid if (x != y) ..; else ..; 332–336
ShortVariable Avoid variables with short names like cp 380
ConfusingTernary Avoid if (x != y) ..; else ..; 451–455
ConfusingTernary Avoid if (x != y) ..; else ..; 478–482

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

Rule Violation Line
LongVariable Avoid excessively long variable names like CRYPT_SALT_PATTERN 48
UseUnderscoresInNumericLiterals Number 10240 should separate every third digit with an underscore 117
UseUnderscoresInNumericLiterals Number 10242 should separate every third digit with an underscore 118
UseUnderscoresInNumericLiterals Number 10272 should separate every third digit with an underscore 119
UseUnderscoresInNumericLiterals Number 10274 should separate every third digit with an underscore 119
UseUnderscoresInNumericLiterals Number 16384 should separate every third digit with an underscore 151
UseUnderscoresInNumericLiterals Number 16648 should separate every third digit with an underscore 151
UseUnderscoresInNumericLiterals Number 16384 should separate every third digit with an underscore 151
UseUnderscoresInNumericLiterals Number 16640 should separate every third digit with an underscore 151
UseUnderscoresInNumericLiterals Number 16640 should separate every third digit with an underscore 152
UseUnderscoresInNumericLiterals Number 16392 should separate every third digit with an underscore 152
UseUnderscoresInNumericLiterals Number 16648 should separate every third digit with an underscore 152
UseUnderscoresInNumericLiterals Number 16392 should separate every third digit with an underscore 153
UseUnderscoresInNumericLiterals Number 16392 should separate every third digit with an underscore 153
UseUnderscoresInNumericLiterals Number 16384 should separate every third digit with an underscore 154
UseUnderscoresInNumericLiterals Number 16640 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 16384 should separate every third digit with an underscore 155
UseUnderscoresInNumericLiterals Number 16640 should separate every third digit with an underscore 155
UseUnderscoresInNumericLiterals Number 16648 should separate every third digit with an underscore 156
UseUnderscoresInNumericLiterals Number 32800 should separate every third digit with an underscore 169
UseUnderscoresInNumericLiterals Number 32800 should separate every third digit with an underscore 170
UseUnderscoresInNumericLiterals Number 32768 should separate every third digit with an underscore 170
UseUnderscoresInNumericLiterals Number 32768 should separate every third digit with an underscore 171
UseUnderscoresInNumericLiterals Number 32768 should separate every third digit with an underscore 172
UseUnderscoresInNumericLiterals Number 32800 should separate every third digit with an underscore 172
UseUnderscoresInNumericLiterals Number 32800 should separate every third digit with an underscore 174
UseUnderscoresInNumericLiterals Number 32768 should separate every third digit with an underscore 175
ShortVariable Avoid variables with short names like t 180
UseUnderscoresInNumericLiterals Number 65535 should separate every third digit with an underscore 204
ShortVariable Avoid variables with short names like b 216
ShortVariable Avoid variables with short names like b 271
ShortVariable Avoid variables with short names like i 275
ShortVariable Avoid variables with short names like y 276
ShortVariable Avoid variables with short names like u 277
ShortVariable Avoid variables with short names like j 279
ShortVariable Avoid variables with short names like c 280
ShortVariable Avoid variables with short names like el 324
ShortVariable Avoid variables with short names like r 324
ShortVariable Avoid variables with short names like s 324
ShortVariable Avoid variables with short names like e0 324
ShortVariable Avoid variables with short names like e1 324
ShortVariable Avoid variables with short names like v 325
ShortVariable Avoid variables with short names like u 326
ShortVariable Avoid variables with short names like t 329
ShortVariable Avoid variables with short names like c 339
ShortVariable Avoid variables with short names like d 340
ShortVariable Avoid variables with short names like j 358
ShortVariable Avoid variables with short names like s 369
ShortVariable Avoid variables with short names like t 372
ShortVariable Avoid variables with short names like b 383
ShortVariable Avoid variables with short names like a 391
ShortVariable Avoid variables with short names like n 391
ShortVariable Avoid variables with short names like m 391
ShortVariable Avoid variables with short names like t 392
ShortVariable Avoid variables with short names like b 396
ShortVariable Avoid variables with short names like a 403
ShortVariable Avoid variables with short names like b 403
ShortVariable Avoid variables with short names like n 403
ShortVariable Avoid variables with short names like m 403
ShortVariable Avoid variables with short names like t 404

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 131
ShortVariable Avoid variables with short names like s0 133
ShortVariable Avoid variables with short names like s1 134
ShortVariable Avoid variables with short names like s2 135
ShortVariable Avoid variables with short names like s3 136
ShortVariable Avoid variables with short names like b 157
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 159
ShortVariable Avoid variables with short names like b 193

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

Rule Violation Line
CallSuperInConstructor It is a good practice to call super() in a constructor 43
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 58

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

Rule Violation Line
CallSuperInConstructor It is a good practice to call super() in a constructor 43
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 58

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

Rule Violation Line
CommentDefaultAccessModifier Missing commented default access modifier on method 'isEmpty()' 207
CommentDefaultAccessModifier Missing commented default access modifier on method 'length()' 211
CommentDefaultAccessModifier Missing commented default access modifier on constructor 'CologneInputBuffer(char[])' 223
CommentDefaultAccessModifier Missing commented default access modifier on method 'getNextChar()' 234
CommentDefaultAccessModifier Missing commented default access modifier on method 'removeNext()' 242
ShortVariable Avoid variables with short names like ch 243
CommentDefaultAccessModifier Missing commented default access modifier on constructor 'CologneOutputBuffer(int)' 253
CommentDefaultAccessModifier Missing commented default access modifier on method 'put(char)' 269
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
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 285
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. 287
ShortVariable Avoid variables with short names like SZ 289
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 289
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 291
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 293
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 295
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 303
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 329
ConfusingTernary Avoid if (x != y) ..; else ..; 338–342

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

Rule Violation Line
LongVariable Avoid excessively long variable names like replacementAtStart 158
LongVariable Avoid excessively long variable names like replacementBeforeVowel 159
LongVariable Avoid excessively long variable names like replacementDefault 160
LongVariable Avoid excessively long variable names like replacementAtStart 162
LongVariable Avoid excessively long variable names like replacementBeforeVowel 162
LongVariable Avoid excessively long variable names like replacementDefault 163
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 176
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 182
ShortVariable Avoid variables with short names like ch 188
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 206
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 208
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 210
LongVariable Avoid excessively long variable names like MULTILINE_COMMENT_END 212
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 212
LongVariable Avoid excessively long variable names like MULTILINE_COMMENT_START 214
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 214
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 217
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 220
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. 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. 230
LongVariable Avoid excessively long variable names like inMultilineComment 243
ShortVariable Avoid variables with short names like r 291
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 sb 348
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 401
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 445
ShortVariable Avoid variables with short names like ch 452

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

Rule Violation Line
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 183
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 188
LongVariable Avoid excessively long variable names like L_R_N_M_B_H_F_V_W_SPACE 190
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 190
LongVariable Avoid excessively long variable names like ES_EP_EB_EL_EY_IB_IL_IN_IE_EI_ER 191
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 191
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 192
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 220
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 238
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 248
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 262
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 265
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 268
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 271
ShortVariable Avoid variables with short names like c 273
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 283
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 287
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 309
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 321
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 347
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 521
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 579
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 584
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 589
ConfusingTernary Avoid if (x != y) ..; else ..; 636–641
ShortVariable Avoid variables with short names like ch 1043

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

Rule Violation Line
CommentDefaultAccessModifier Missing commented default access modifier on method 'cleanName(String)' 86
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 145
CommentDefaultAccessModifier Missing commented default access modifier on method 'getFirst3Last3(String)' 166
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 172
CommentDefaultAccessModifier Missing commented default access modifier on method 'getMinRating(int)' 192
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 226
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 229
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 232
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 256
CommentDefaultAccessModifier Missing commented default access modifier on method 'isVowel(String)' 286
CommentDefaultAccessModifier Missing commented default access modifier on method 'leftToRightThenRightToLeftProcessing(String, String)' 304
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 347
CommentDefaultAccessModifier Missing commented default access modifier on method 'removeAccents(String)' 360
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 362
ShortVariable Avoid variables with short names like sb 365
ShortVariable Avoid variables with short names like n 366
ShortVariable Avoid variables with short names like c 369
CommentDefaultAccessModifier Missing commented default access modifier on method 'removeDoubleConsonants(String)' 393
CommentDefaultAccessModifier Missing commented default access modifier on method 'removeVowels(String)' 416
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 430

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

Rule Violation Line
ShortVariable Avoid variables with short names like n 122
ShortVariable Avoid variables with short names like c 137
ShortVariable Avoid variables with short names like c 145
PrematureDeclaration Declaration of 'hard' can be moved closer to its usages 168
VariableDeclarationUsageDistance Distance between declaration of 'hard' and its first usage is 9, current threshold is 7 168
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 171
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 175
ShortVariable Avoid variables with short names like n 221

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 245
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 252

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

Rule Violation Line
LongVariable Avoid excessively long variable names like US_ENGLISH_MAPPING_STRING 52
LongVariable Avoid excessively long variable names like US_ENGLISH_MAPPING 59
ShortVariable Avoid variables with short names like s1 129
ShortVariable Avoid variables with short names like s2 129
CommentDefaultAccessModifier Missing commented default access modifier on method 'getMappingCode(char)' 175
ShortVariable Avoid variables with short names like c 175
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 177
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 195
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 199

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

Rule Violation Line
LongVariable Avoid excessively long variable names like US_ENGLISH_MAPPING_STRING 58
LongVariable Avoid excessively long variable names like US_ENGLISH_MAPPING 65
LongVariable Avoid excessively long variable names like US_ENGLISH_SIMPLIFIED 84
LongVariable Avoid excessively long variable names like US_ENGLISH_GENEALOGY 98
ShortVariable Avoid variables with short names like s1 191
ShortVariable Avoid variables with short names like s2 191
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 238
ShortVariable Avoid variables with short names like ch 251
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 279
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 283
ShortVariable Avoid variables with short names like ch 291

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

Rule Violation Line
CommentDefaultAccessModifier Missing commented default access modifier on method 'clean(String)' 41
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 43
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 54
CommentDefaultAccessModifier Missing commented default access modifier on method 'difference(StringEncoder, String, String)' 75
ShortVariable Avoid variables with short names like s1 75
ShortVariable Avoid variables with short names like s2 75
CommentDefaultAccessModifier Missing commented default access modifier on method 'differenceEncoded(String, String)' 92
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 94
CommentDefaultAccessModifier Missing commented default access modifier on method 'isEmpty(CharSequence)' 120
ShortVariable Avoid variables with short names like cs 120

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

Rule Violation Line
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 120

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
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 106
LongVariable Avoid excessively long variable names like languageRulesResourceName 138
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 186
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 188
ShortVariable Avoid variables with short names like ls 203
ShortVariable Avoid variables with short names like ls 226

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

Rule Violation Line
CommentDefaultAccessModifier Missing commented default access modifier on method 'merge(LanguageSet)' 119
CallSuperInConstructor It is a good practice to call super() in a constructor 136
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 172
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 186
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 189
LambdaCanBeMethodReference Lambda expression could be written as a method reference: `someLanguages.languages::contains` 192
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 205
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 207
LongVariable Avoid excessively long variable names like languagesResourceName 325
ShortVariable Avoid variables with short names like ls 327
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 351

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

Rule Violation Line
CommentDefaultAccessModifier Missing commented default access modifier on nested class 'PhonemeBuilder' 179
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 192
ShortVariable Avoid variables with short names like i 277
CommentDefaultAccessModifier Missing commented default access modifier on constructor 'RulesApplication(Map<String, List<Rule>>, CharSequence, PhonemeBuilder, int, int)' 285
ShortVariable Avoid variables with short names like i 285
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 336
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 338
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 368
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 370
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 372
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 374
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 376
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 378
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 438
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 516
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 524
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 560
ShortVariable Avoid variables with short names like i 634

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

Rule Violation Line
CommentDefaultAccessModifier Missing commented default access modifier on field 'CMT' 35
CommentDefaultAccessModifier Missing commented default access modifier on field 'ENCODING' 36
CommentDefaultAccessModifier Missing commented default access modifier on field 'EXT_CMT_END' 37
CommentDefaultAccessModifier Missing commented default access modifier on field 'EXT_CMT_START' 38
CommentDefaultAccessModifier Missing commented default access modifier on field 'SPACES' 39

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

Rule Violation Line
ShortVariable Avoid variables with short names like c 98
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 277
LongVariable Avoid excessively long variable names like ALL_STRINGS_RMATCHER 282
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. 290
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 292
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 293
LongVariable Avoid excessively long variable names like HASH_INCLUDE_LENGTH 294
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 294
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 295
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 296
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 297
ShortVariable Avoid variables with short names like rt 330
ShortVariable Avoid variables with short names like rt 335
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 350
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 354
ShortVariable Avoid variables with short names like rt 368
LambdaCanBeMethodReference Lambda expression could be written as a method reference: `allRules::addAll` 371
ShortVariable Avoid variables with short names like rt 383
ShortVariable Avoid variables with short names like rt 396
ShortVariable Avoid variables with short names like rt 409
ShortVariable Avoid variables with short names like ph 417
ShortVariable Avoid variables with short names like in 424
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 426
CommentDefaultAccessModifier Missing commented default access modifier on method 'parsePhonemeExpr(String)' 434
ShortVariable Avoid variables with short names like ph 434
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 449
LongVariable Avoid excessively long variable names like inMultilineComment 457
LongVariable Avoid excessively long variable names like hashIncludeScanner 485
ShortVariable Avoid variables with short names like ph 498
ShortVariable Avoid variables with short names like r 500
ShortVariable Avoid variables with short names like sb 507
ConfusingTernary Avoid if (x != y) ..; else ..; 541–589
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 546
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 548
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 552
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 556
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 560
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 577
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 581
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 585
CommentDefaultAccessModifier Missing commented default access modifier on field 'pattern' 592
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 604
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 608
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 624
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 625
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 626
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 627
ShortVariable Avoid variables with short names like i 688
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 696
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 701
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 704

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

Rule Violation Line
LongVariable Avoid excessively long variable names like DECODING_POLICY_DEFAULT 71
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 190
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 227

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

Rule Violation Line
LongVariable Avoid excessively long variable names like alwaysEncodeCharsMin 65
LongVariable Avoid excessively long variable names like alwaysEncodeCharsMax 65
ShortVariable Avoid variables with short names like c 93
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 100
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 115
ShortVariable Avoid variables with short names like b 119
ShortVariable Avoid variables with short names like u 122
ShortVariable Avoid variables with short names like l 123
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 147
ShortVariable Avoid variables with short names like bb 159
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 186
LongVariable Avoid excessively long variable names like expectedEncodingBytes 188
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 191
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 206
ShortVariable Avoid variables with short names like b 217
ShortVariable Avoid variables with short names like c 232
ShortVariable Avoid variables with short names like b 242
LongVariable Avoid excessively long variable names like alwaysEncodeCharsArray 260
ShortVariable Avoid variables with short names like c 269

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 193
ShortVariable Avoid variables with short names like b 205
ConfusingTernary Avoid if (x != y) ..; else ..; 206–210
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 212
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 245
ShortVariable Avoid variables with short names like b 322

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

Rule Violation Line
ShortVariable Avoid variables with short names like CR 76
ShortVariable Avoid variables with short names like LF 77
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 141
ShortVariable Avoid variables with short names like l 142
ShortVariable Avoid variables with short names like b 163
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 201
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 210
ShortVariable Avoid variables with short names like b 216
ShortVariable Avoid variables with short names like b 232
ShortVariable Avoid variables with short names like b 251
ShortVariable Avoid variables with short names like b 272
ShortVariable Avoid variables with short names like b 289
ShortVariable Avoid variables with short names like b 302
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 309
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 314
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 395
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 398
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 432
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 449
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 479
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 482
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 541

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

Rule Violation Line
CommentDefaultAccessModifier Missing commented default access modifier on constructor 'RFC1522Codec(Charset)' 58
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 76
ShortVariable Avoid variables with short names like to 83
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 173

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 118
ShortVariable Avoid variables with short names like b 125
ShortVariable Avoid variables with short names like u 130
ShortVariable Avoid variables with short names like l 131
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 182
ShortVariable Avoid variables with short names like b 190
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 216
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 275
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 278
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 306
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 338
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 367
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 370
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 413

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

Rule Violation Line
CommentDefaultAccessModifier Missing commented default access modifier on field 'SPACE' 38
CommentDefaultAccessModifier Missing commented default access modifier on method 'digit16(byte)' 47
ShortVariable Avoid variables with short names like b 47
ShortVariable Avoid variables with short names like i 48
CommentDefaultAccessModifier Missing commented default access modifier on method 'hexChar(int)' 61
ShortVariable Avoid variables with short names like b 61

Priority 4

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

Rule Violation Line
BooleanGetMethodName A getX() method which returns a boolean or Boolean should be named isX() 61

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

Rule Violation Line
ShortClassName Avoid short class names like Hex 45

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

Rule Violation Line
ShortClassName Avoid short class names like B64 31

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

Rule Violation Line
ShortClassName Avoid short class names like Rule 155

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 81

Files

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/StringEncoderComparator.java

Rule Violation Priority Line
ShortVariable Avoid variables with short names like o1 3 69
ShortVariable Avoid variables with short names like o2 3 69
ShortVariable Avoid variables with short names like s1 3 74
ShortVariable Avoid variables with short names like s2 3 75

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

Rule Violation Priority Line
CommentDefaultAccessModifier Missing commented default access modifier on method 'asThis()' 3 43
BooleanGetMethodName A getX() method which returns a boolean or Boolean should be named isX() 4 61
LinguisticNaming Linguistics Antipattern - The setter 'setBaseNCodec' should not return any type except void linguistically 3 78
LinguisticNaming Linguistics Antipattern - The setter 'setEncode' should not return any type except void linguistically 3 89

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

Rule Violation Priority Line
LongVariable Avoid excessively long variable names like BITS_PER_ENCODED_BYTE 3 110
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 110
LongVariable Avoid excessively long variable names like BYTES_PER_ENCODED_BLOCK 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 BYTES_PER_UNENCODED_BLOCK 3 114
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 114
LongVariable Avoid excessively long variable names like UPPER_CASE_DECODE_TABLE 3 121
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 121
LongVariable Avoid excessively long variable names like UPPER_CASE_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
LongVariable Avoid excessively long variable names like LOWER_CASE_DECODE_TABLE 3 142
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 142
LongVariable Avoid excessively long variable names like LOWER_CASE_ENCODE_TABLE 3 157
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
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 177
ShortVariable Avoid variables with short names like b 3 189
CommentDefaultAccessModifier Missing commented default access modifier on method 'decode(byte[], int, int, Context)' 3 238
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 244
ConfusingTernary Avoid if (x != y) ..; else ..; 3 247
ShortVariable Avoid variables with short names like b 3 282
CommentDefaultAccessModifier Missing commented default access modifier on method 'encode(byte[], int, int, Context)' 3 293
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 295
ShortVariable Avoid variables with short names like b 3 324

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

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

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

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

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

Rule Violation Priority Line
LongVariable Avoid excessively long variable names like BITS_PER_ENCODED_BYTE 3 154
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 154
LongVariable Avoid excessively long variable names like BYTES_PER_ENCODED_BLOCK 3 156
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 156
LongVariable Avoid excessively long variable names like BYTES_PER_UNENCODED_BLOCK 3 157
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 157
LongVariable Avoid excessively long variable names like DECODING_TABLE_LENGTH 3 158
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 158
LongVariable Avoid excessively long variable names like ENCODING_TABLE_LENGTH 3 159
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 159
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 166
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 187
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 199
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 229
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 232
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 235
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 238
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 241
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 326
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 335
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 340
CommentDefaultAccessModifier Missing commented default access modifier on method 'decode(byte[], int, int, Context)' 3 576
ShortVariable Avoid variables with short names like b 3 589
CommentDefaultAccessModifier Missing commented default access modifier on method 'encode(byte[], int, int, Context)' 3 689
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 692
ShortVariable Avoid variables with short names like b 3 759
CommentDefaultAccessModifier Missing commented default access modifier on method 'getLineSeparator()' 3 789

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

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

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

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

org/apache/commons/codec/binary/Base45.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 178
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 183
LongVariable Avoid excessively long variable names like BYTES_PER_ENCODED_BLOCK 3 188
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 188
CommentDefaultAccessModifier Missing commented default access modifier on field 'BYTES_PER_ENCODED_BLOCK' 3 188
LongVariable Avoid excessively long variable names like TAIL_ENCODED_BLOCK 3 190
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 190
LongVariable Avoid excessively long variable names like BYTES_PER_UNENCODED_BLOCK 3 195
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 195
CommentDefaultAccessModifier Missing commented default access modifier on field 'BYTES_PER_UNENCODED_BLOCK' 3 195
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 201
CommentDefaultAccessModifier Missing commented default access modifier on field 'DECODE_TABLE' 3 201
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 221
CommentDefaultAccessModifier Missing commented default access modifier on field 'ENCODE_TABLE' 3 221
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 271
CommentDefaultAccessModifier Missing commented default access modifier on method 'decode(byte[], int, int, Context)' 3 311
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 314
ShortVariable Avoid variables with short names like b 3 341
CommentDefaultAccessModifier Missing commented default access modifier on method 'encode(byte[], int, int, Context)' 3 392
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 395
ShortVariable Avoid variables with short names like n 3 402
ShortVariable Avoid variables with short names like b 3 410
ShortVariable Avoid variables with short names like n 3 419
ShortVariable Avoid variables with short names like n 3 441
ConfusingTernary Avoid if (x != y) ..; else ..; 3 442
ShortVariable Avoid variables with short names like v 3 453
LongVariable Avoid excessively long variable names like allowWhitespacePad 3 468
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 471

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

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

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

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

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

Rule Violation Priority Line
CommentDefaultAccessModifier Missing commented default access modifier on method 'getMaxDecodeLength()' 3 86
CommentDefaultAccessModifier Missing commented default access modifier on method 'getMaxEncodeLength()' 3 90
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 165
LongVariable Avoid excessively long variable names like DECODING_TABLE_LENGTH 3 167
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 167
LongVariable Avoid excessively long variable names like ENCODING_TABLE_LENGTH 3 168
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 168
LongVariable Avoid excessively long variable names like DEFAULT_MAX_DECODE_LENGTH 3 178
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 178
LongVariable Avoid excessively long variable names like DEFAULT_MAX_ENCODE_LENGTH 3 188
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 194
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 206
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 271
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 284
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 313
ShortVariable Avoid variables with short names like b 3 384
ShortVariable Avoid variables with short names like w 3 405
CommentDefaultAccessModifier Missing commented default access modifier on method 'decode(byte[], int, int, Context)' 3 460
CommentDefaultAccessModifier Missing commented default access modifier on method 'encode(byte[], int, int, Context)' 3 476

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

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

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

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

org/apache/commons/codec/binary/Base64.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 148
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 154
LongVariable Avoid excessively long variable names like BITS_PER_ENCODED_BYTE 3 229
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 229
LongVariable Avoid excessively long variable names like BYTES_PER_UNENCODED_BLOCK 3 230
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 230
LongVariable Avoid excessively long variable names like BYTES_PER_ENCODED_BLOCK 3 231
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 231
LongVariable Avoid excessively long variable names like DECODING_TABLE_LENGTH 3 232
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 232
LongVariable Avoid excessively long variable names like STANDARD_ENCODE_TABLE 3 242
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 242
LongVariable Avoid excessively long variable names like URL_SAFE_ENCODE_TABLE 3 255
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 277
LongVariable Avoid excessively long variable names like STANDARD_DECODE_TABLE 3 295
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 295
LongVariable Avoid excessively long variable names like URL_SAFE_DECODE_TABLE 3 314
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 314
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 331
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 338
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 341
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 393
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 595
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 717
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 778
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 841
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 872
CommentDefaultAccessModifier Missing commented default access modifier on method 'toUrlSafeEncodeTable(boolean)' 3 877
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 884
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 889
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 890
LongVariable Avoid excessively long variable names like isStandardEncodeTable 3 891
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 891
CommentDefaultAccessModifier Missing commented default access modifier on method 'decode(byte[], int, int, Context)' 3 1078
ShortVariable Avoid variables with short names like b 3 1090
CommentDefaultAccessModifier Missing commented default access modifier on method 'encode(byte[], int, int, Context)' 3 1164
ShortVariable Avoid variables with short names like in 3 1164
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 1166
ShortVariable Avoid variables with short names like b 3 1214
CommentDefaultAccessModifier Missing commented default access modifier on method 'getLineSeparator()' 3 1240

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

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

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

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

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

Rule Violation Priority Line
CommentDefaultAccessModifier Missing commented default access modifier on method 'clone(byte[], byte[])' 3 92
LongVariable Avoid excessively long variable names like unencodedBlockSize 3 96
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 96
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 97
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 98
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 99
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 100
LongVariable Avoid excessively long variable names like defaultEncodeTable 3 101
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 101
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 103
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 106
CommentDefaultAccessModifier Missing commented default access modifier on constructor 'AbstractBuilder(byte[])' 3 108
LongVariable Avoid excessively long variable names like defaultEncodeTable 3 108
CommentDefaultAccessModifier Missing commented default access modifier on method 'asThis()' 3 126
CommentDefaultAccessModifier Missing commented default access modifier on method 'getDecodeTable()' 3 130
CommentDefaultAccessModifier Missing commented default access modifier on method 'getDecodingPolicy()' 3 134
CommentDefaultAccessModifier Missing commented default access modifier on method 'getEncodedBlockSize()' 3 138
CommentDefaultAccessModifier Missing commented default access modifier on method 'getEncodeTable()' 3 142
CommentDefaultAccessModifier Missing commented default access modifier on method 'getLineLength()' 3 146
CommentDefaultAccessModifier Missing commented default access modifier on method 'getLineSeparator()' 3 150
CommentDefaultAccessModifier Missing commented default access modifier on method 'getPadding()' 3 154
CommentDefaultAccessModifier Missing commented default access modifier on method 'getUnencodedBlockSize()' 3 158
LinguisticNaming Linguistics Antipattern - The setter 'setDecodeTable' should not return any type except void linguistically 3 169
LinguisticNaming Linguistics Antipattern - The setter 'setDecodeTableRaw' should not return any type except void linguistically 3 180
CommentDefaultAccessModifier Missing commented default access modifier on method 'setDecodeTableRaw(byte[])' 3 180
LinguisticNaming Linguistics Antipattern - The setter 'setDecodingPolicy' should not return any type except void linguistically 3 191
LinguisticNaming Linguistics Antipattern - The setter 'setEncodedBlockSize' should not return any type except void linguistically 3 202
CommentDefaultAccessModifier Missing commented default access modifier on method 'setEncodedBlockSize(int)' 3 202
LinguisticNaming Linguistics Antipattern - The setter 'setEncodeTable' should not return any type except void linguistically 3 213
LinguisticNaming Linguistics Antipattern - The setter 'setEncodeTableRaw' should not return any type except void linguistically 3 224
CommentDefaultAccessModifier Missing commented default access modifier on method 'setEncodeTableRaw(byte[])' 3 224
LinguisticNaming Linguistics Antipattern - The setter 'setLineLength' should not return any type except void linguistically 3 235
LinguisticNaming Linguistics Antipattern - The setter 'setLineSeparator' should not return any type except void linguistically 3 246
LinguisticNaming Linguistics Antipattern - The setter 'setPadding' should not return any type except void linguistically 3 257
LinguisticNaming Linguistics Antipattern - The setter 'setUnencodedBlockSize' should not return any type except void linguistically 3 268
CommentDefaultAccessModifier Missing commented default access modifier on method 'setUnencodedBlockSize(int)' 3 268
LongVariable Avoid excessively long variable names like unencodedBlockSize 3 268
CommentDefaultAccessModifier Missing commented default access modifier on nested class 'Context' 3 279
CommentDefaultAccessModifier Missing commented default access modifier on field 'ibitWorkArea' 3 284
CommentDefaultAccessModifier Missing commented default access modifier on field 'lbitWorkArea' 3 289
CommentDefaultAccessModifier Missing commented default access modifier on field 'buffer' 3 294
CommentDefaultAccessModifier Missing commented default access modifier on field 'pos' 3 299
CommentDefaultAccessModifier Missing commented default access modifier on field 'readPos' 3 304
CommentDefaultAccessModifier Missing commented default access modifier on field 'eof' 3 309
CommentDefaultAccessModifier Missing commented default access modifier on field 'currentLinePos' 3 315
CommentDefaultAccessModifier Missing commented default access modifier on field 'modulus' 3 320
CommentDefaultAccessModifier Missing commented default access modifier on field 'strictPadding' 3 325
LongVariable Avoid excessively long variable names like strictSeparatorPos 3 330
CommentDefaultAccessModifier Missing commented default access modifier on field 'strictSeparatorPos' 3 330
CommentDefaultAccessModifier Missing commented default access modifier on field 'strictFinalLine' 3 335
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 354
CommentDefaultAccessModifier Missing commented default access modifier on field 'EOF' 3 354
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 365
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 376
LongVariable Avoid excessively long variable names like DEFAULT_BUFFER_RESIZE_FACTOR 3 377
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 377
LongVariable Avoid excessively long variable names like DEFAULT_BUFFER_SIZE 3 382
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 382
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 393
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 396
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 401
LongVariable Avoid excessively long variable names like DECODING_POLICY_DEFAULT 3 408
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 408
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 415
CommentDefaultAccessModifier Missing commented default access modifier on field 'CHUNK_SEPARATOR' 3 415
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 420
CommentDefaultAccessModifier Missing commented default access modifier on field 'EMPTY_BYTE_ARRAY' 3 420
CommentDefaultAccessModifier Missing commented default access modifier on method 'code(boolean, BaseNCodec, byte[], int, int, Context)' 3 422
ShortVariable Avoid variables with short names like b 3 508
CommentDefaultAccessModifier Missing commented default access modifier on method 'toUnsignedBytes(BigInteger)' 3 522
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 541
FieldNamingConventions The final field name 'PAD' doesn't match '[a-z][a-zA-Z0-9]*' 1 541
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 544
LongVariable Avoid excessively long variable names like unencodedBlockSize 3 547
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 547
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 550
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 556
LongVariable Avoid excessively long variable names like chunkSeparatorLength 3 561
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 561
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 566
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 571
CommentDefaultAccessModifier Missing commented default access modifier on field 'decodeTable' 3 571
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 576
CommentDefaultAccessModifier Missing commented default access modifier on field 'encodeTable' 3 576
LongVariable Avoid excessively long variable names like unencodedBlockSize 3 610
LongVariable Avoid excessively long variable names like chunkSeparatorLength 3 610
LongVariable Avoid excessively long variable names like unencodedBlockSize 3 629
LongVariable Avoid excessively long variable names like chunkSeparatorLength 3 629
LongVariable Avoid excessively long variable names like unencodedBlockSize 3 650
LongVariable Avoid excessively long variable names like chunkSeparatorLength 3 650
CommentDefaultAccessModifier Missing commented default access modifier on method 'available(Context)' 3 669
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 707
CommentDefaultAccessModifier Missing commented default access modifier on method 'decode(byte[], int, int, Context)' 3 728
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 747
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 781
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 798
CommentDefaultAccessModifier Missing commented default access modifier on method 'encode(byte[], int, int, Context)' 3 819
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 876
CommentDefaultAccessModifier Missing commented default access modifier on method 'hasData(Context)' 3 927
LongVariable Avoid excessively long variable names like allowWhitespacePad 3 946
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 949
CommentDefaultAccessModifier Missing commented default access modifier on method 'readResults(byte[], int, int, Context)' 3 993
ShortVariable Avoid variables with short names like b 3 993
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 1005
CommentDefaultAccessModifier Missing commented default access modifier on method 'validateCanonicalByte(int, byte[], boolean, Context)' 3 1020
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 1034
CommentDefaultAccessModifier Missing commented default access modifier on method 'validateCanonicalEnd(boolean, Context)' 3 1063

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

Rule Violation Priority Line
CallSuperInConstructor It is a good practice to call super() in a constructor 3 61
LinguisticNaming Linguistics Antipattern - The setter 'setByteArray' should not return any type except void linguistically 3 81
LinguisticNaming Linguistics Antipattern - The setter 'setInputStream' should not return any type except void linguistically 3 91
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 97
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 98
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 99
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 100
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 101
ShortVariable Avoid variables with short names like r 3 195
ShortVariable Avoid variables with short names like b 3 200
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 201
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 224
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 245
ConfusingTernary Avoid if (x != y) ..; else ..; 3 245
ShortVariable Avoid variables with short names like n 3 271
ShortVariable Avoid variables with short names like b 3 276

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

Rule Violation Priority Line
CallSuperInConstructor It is a good practice to call super() in a constructor 3 65
LinguisticNaming Linguistics Antipattern - The setter 'setOutputStream' should not return any type except void linguistically 3 84
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 90
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 91
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 92
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 93
ShortVariable Avoid variables with short names like c 3 175
ShortVariable Avoid variables with short names like i 3 229

org/apache/commons/codec/binary/BinaryCodec.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 84
ShortVariable Avoid variables with short names like b 3 89
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 123
ShortVariable Avoid variables with short names like c 3 128
CommentDefaultAccessModifier Missing commented default access modifier on method 'isEmpty(byte[])' 3 154
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 167
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 196
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 272
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 275
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 326

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 48
ShortVariable Avoid variables with short names like cs 3 48
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 51
ShortVariable Avoid variables with short names like c1 3 57
ShortVariable Avoid variables with short names like c2 3 58
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 63
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 68

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

Rule Violation Priority Line
ShortClassName Avoid short class names like Hex 4 45
LongVariable Avoid excessively long variable names like DEFAULT_CHARSET_NAME 3 59
ShortVariable Avoid variables with short names like f 3 109
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 365
ShortVariable Avoid variables with short names like ch 3 388
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 405
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 486
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 489
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 492

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 96
MethodNamingConventions The static method name 'getBytesIso8859_1' doesn't match '[a-z][a-zA-Z0-9]*' 1 146
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 171
ShortVariable Avoid variables with short names like e 3 270
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 311
MethodNamingConventions The static method name 'newStringIso8859_1' doesn't match '[a-z][a-zA-Z0-9]*' 1 332

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 58
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 59
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 60
LongVariable Avoid excessively long variable names like messageDigestAlgorithm 3 122
LongVariable Avoid excessively long variable names like messageDigestAlgorithm 3 127

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 58
ShortVariable Avoid variables with short names like b2 3 58
ShortVariable Avoid variables with short names like b1 3 58
ShortVariable Avoid variables with short names like b0 3 58
ShortVariable Avoid variables with short names like w 3 61
ShortVariable Avoid variables with short names like n 3 63
CommentDefaultAccessModifier Missing commented default access modifier on method 'getRandomSalt(int)' 3 80
CommentDefaultAccessModifier Missing commented default access modifier on method 'getRandomSalt(int, Random)' 3 95

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

Rule Violation Priority Line
ShortVariable Avoid variables with short names like in 3 173
LongVariable Avoid excessively long variable names like parentNodesRemaining 3 198
ShortVariable Avoid variables with short names like cv 3 210
LongVariable Avoid excessively long variable names like inputChainingValue 3 227
LongVariable Avoid excessively long variable names like inputChainingValue 3 233
LongVariable Avoid excessively long variable names like outputBlockCounter 3 246
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 262
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 263
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 264
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 265
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 267
LongVariable Avoid excessively long variable names like CHAINING_VALUE_INTS 3 268
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 268
ShortVariable Avoid variables with short names like IV 3 273
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 277
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 278
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
LongVariable Avoid excessively long variable names like DERIVE_KEY_CONTEXT 3 281
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 DERIVE_KEY_MATERIAL 3 282
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 288
ShortMethodName Avoid using short method names 3 334
ShortVariable Avoid variables with short names like a 3 334
ShortVariable Avoid variables with short names like b 3 334
ShortVariable Avoid variables with short names like c 3 334
ShortVariable Avoid variables with short names like d 3 334
ShortVariable Avoid variables with short names like mx 3 334
ShortVariable Avoid variables with short names like my 3 334
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 454
ShortVariable Avoid variables with short names like in 3 543
ShortVariable Avoid variables with short names like in 3 562

org/apache/commons/codec/digest/Crc16.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 114
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 148
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 149
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 183
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 218
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 220
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 222
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 224
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 226
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 227
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 229
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 230
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 265
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 267
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 268
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 535
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 536
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 537
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 538
ShortVariable Avoid variables with short names like b 3 566
ShortVariable Avoid variables with short names like b 3 574

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 68
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 71
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 74
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 77

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

Rule Violation Priority Line
CommentDefaultAccessModifier Missing commented default access modifier on field 'BUFFER_SIZE' 3 69
LongVariable Avoid excessively long variable names like defaultMessageDigest 3 179
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 181
MethodNamingConventions The static method name 'getSha3_224Digest' doesn't match '[a-z][a-zA-Z0-9]*' 1 255
MethodNamingConventions The static method name 'getSha3_256Digest' doesn't match '[a-z][a-zA-Z0-9]*' 1 267
MethodNamingConventions The static method name 'getSha3_384Digest' doesn't match '[a-z][a-zA-Z0-9]*' 1 279
MethodNamingConventions The static method name 'getSha3_512Digest' doesn't match '[a-z][a-zA-Z0-9]*' 1 291
MethodNamingConventions The static method name 'getSha512_224Digest' doesn't match '[a-z][a-zA-Z0-9]*' 1 313
MethodNamingConventions The static method name 'getSha512_256Digest' doesn't match '[a-z][a-zA-Z0-9]*' 1 324
MethodNamingConventions The static method name 'getShake128_256Digest' doesn't match '[a-z][a-zA-Z0-9]*' 1 363
MethodNamingConventions The static method name 'getShake256_512Digest' doesn't match '[a-z][a-zA-Z0-9]*' 1 379
LongVariable Avoid excessively long variable names like messageDigestAlgorithm 3 390
MethodNamingConventions The static method name 'sha3_224' doesn't match '[a-z][a-zA-Z0-9]*' 1 706
MethodNamingConventions The static method name 'sha3_224' doesn't match '[a-z][a-zA-Z0-9]*' 1 718
MethodNamingConventions The static method name 'sha3_224' doesn't match '[a-z][a-zA-Z0-9]*' 1 729
MethodNamingConventions The static method name 'sha3_224Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1 740
MethodNamingConventions The static method name 'sha3_224Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1 752
MethodNamingConventions The static method name 'sha3_224Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1 763
MethodNamingConventions The static method name 'sha3_256' doesn't match '[a-z][a-zA-Z0-9]*' 1 774
MethodNamingConventions The static method name 'sha3_256' doesn't match '[a-z][a-zA-Z0-9]*' 1 786
MethodNamingConventions The static method name 'sha3_256' doesn't match '[a-z][a-zA-Z0-9]*' 1 797
MethodNamingConventions The static method name 'sha3_256Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1 808
MethodNamingConventions The static method name 'sha3_256Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1 820
MethodNamingConventions The static method name 'sha3_256Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1 831
MethodNamingConventions The static method name 'sha3_384' doesn't match '[a-z][a-zA-Z0-9]*' 1 842
MethodNamingConventions The static method name 'sha3_384' doesn't match '[a-z][a-zA-Z0-9]*' 1 854
MethodNamingConventions The static method name 'sha3_384' doesn't match '[a-z][a-zA-Z0-9]*' 1 865
MethodNamingConventions The static method name 'sha3_384Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1 876
MethodNamingConventions The static method name 'sha3_384Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1 888
MethodNamingConventions The static method name 'sha3_384Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1 899
MethodNamingConventions The static method name 'sha3_512' doesn't match '[a-z][a-zA-Z0-9]*' 1 910
MethodNamingConventions The static method name 'sha3_512' doesn't match '[a-z][a-zA-Z0-9]*' 1 922
MethodNamingConventions The static method name 'sha3_512' doesn't match '[a-z][a-zA-Z0-9]*' 1 933
MethodNamingConventions The static method name 'sha3_512Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1 944
MethodNamingConventions The static method name 'sha3_512Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1 956
MethodNamingConventions The static method name 'sha3_512Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1 967
MethodNamingConventions The static method name 'sha512_224' doesn't match '[a-z][a-zA-Z0-9]*' 1 1080
MethodNamingConventions The static method name 'sha512_224' doesn't match '[a-z][a-zA-Z0-9]*' 1 1092
MethodNamingConventions The static method name 'sha512_224' doesn't match '[a-z][a-zA-Z0-9]*' 1 1103
MethodNamingConventions The static method name 'sha512_224Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1 1114
MethodNamingConventions The static method name 'sha512_224Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1 1126
MethodNamingConventions The static method name 'sha512_224Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1 1137
MethodNamingConventions The static method name 'sha512_256' doesn't match '[a-z][a-zA-Z0-9]*' 1 1148
MethodNamingConventions The static method name 'sha512_256' doesn't match '[a-z][a-zA-Z0-9]*' 1 1160
MethodNamingConventions The static method name 'sha512_256' doesn't match '[a-z][a-zA-Z0-9]*' 1 1171
MethodNamingConventions The static method name 'sha512_256Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1 1182
MethodNamingConventions The static method name 'sha512_256Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1 1194
MethodNamingConventions The static method name 'sha512_256Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1 1205
MethodNamingConventions The static method name 'shake128_256' doesn't match '[a-z][a-zA-Z0-9]*' 1 1291
MethodNamingConventions The static method name 'shake128_256' doesn't match '[a-z][a-zA-Z0-9]*' 1 1303
MethodNamingConventions The static method name 'shake128_256' doesn't match '[a-z][a-zA-Z0-9]*' 1 1314
MethodNamingConventions The static method name 'shake128_256Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1 1325
MethodNamingConventions The static method name 'shake128_256Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1 1337
MethodNamingConventions The static method name 'shake128_256Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1 1348
MethodNamingConventions The static method name 'shake256_512' doesn't match '[a-z][a-zA-Z0-9]*' 1 1359
MethodNamingConventions The static method name 'shake256_512' doesn't match '[a-z][a-zA-Z0-9]*' 1 1371
MethodNamingConventions The static method name 'shake256_512' doesn't match '[a-z][a-zA-Z0-9]*' 1 1382
MethodNamingConventions The static method name 'shake256_512Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1 1393
MethodNamingConventions The static method name 'shake256_512Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1 1405
MethodNamingConventions The static method name 'shake256_512Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1 1416
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 1545

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

Rule Violation Priority Line
CommentDefaultAccessModifier Missing commented default access modifier on nested class 'DirectoryEntry' 3 81
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 100
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 105
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 114
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 119
CommentDefaultAccessModifier Missing commented default access modifier on constructor 'DirectoryEntry(String, FileMode, byte[])' 3 128
ShortVariable Avoid variables with short names like o 3 136
ShortVariable Avoid variables with short names like a 3 137
ShortVariable Avoid variables with short names like b 3 138
ConfusingTernary Avoid if (x != y) ..; else ..; 3 146
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
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 231
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 253
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 254
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 255
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 475

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

Rule Violation Priority Line
LongVariable Avoid excessively long variable names like STREAM_BUFFER_LENGTH 3 61
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 657
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 712

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

Rule Violation Priority Line
CommentDefaultAccessModifier Missing commented default access modifier on field 'APR1_PREFIX' 3 58
CommentDefaultAccessModifier Missing commented default access modifier on field 'MD5_PREFIX' 3 64
ShortVariable Avoid variables with short names like p 3 251
ShortVariable Avoid variables with short names like m 3 252
LongVariable Avoid excessively long variable names like altMessageDigestMd5 3 275
ShortVariable Avoid variables with short names like ii 3 280
ShortVariable Avoid variables with short names like j 3 293
ConfusingTernary Avoid if (x != y) ..; else ..; 3 313–317
ConfusingTernary Avoid if (x != y) ..; else ..; 3 324–328

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

Rule Violation Priority Line
CommentDefaultAccessModifier Missing commented default access modifier on method 'getLittleEndianInt(byte[], int)' 3 32
CommentDefaultAccessModifier Missing commented default access modifier on method 'getLittleEndianLong(byte[], int)' 3 48

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

Rule Violation Priority Line
ShortVariable Avoid variables with short names like h 3 97
ShortVariable Avoid variables with short names like k 3 103
ShortVariable Avoid variables with short names like h 3 202
ShortVariable Avoid variables with short names like k 3 207

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

Rule Violation Priority Line
CallSuperInConstructor It is a good practice to call super() in a constructor 3 86
CommentDefaultAccessModifier Missing commented default access modifier on method 'finalise(int, int, byte[], int)' 3 103
ShortVariable Avoid variables with short names like k1 3 106
ShortVariable Avoid variables with short names like b1 3 155
ShortVariable Avoid variables with short names like b2 3 155
ShortVariable Avoid variables with short names like b3 3 155
ShortVariable Avoid variables with short names like b4 3 155
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 166
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 172
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 191
ShortVariable Avoid variables with short names like k 3 216
ShortVariable Avoid variables with short names like k 3 244
CommentDefaultAccessModifier Missing commented default access modifier on method 'finalise(int, int, byte[], int)' 3 276
ShortVariable Avoid variables with short names like k1 3 278
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 317
UseUnderscoresInNumericLiterals Number 2862933555777941757L should separate every third digit with an underscore 3 317
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 323
UseUnderscoresInNumericLiterals Number 104729 should separate every third digit with an underscore 3 323
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 326
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 327
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 328
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 330
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 331
ShortVariable Avoid variables with short names like C1 3 333
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 333
ShortVariable Avoid variables with short names like C2 3 334
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 334
ShortVariable Avoid variables with short names like R1 3 335
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 335
ShortVariable Avoid variables with short names like R2 3 336
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 336
ShortVariable Avoid variables with short names like R3 3 337
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 337
ShortVariable Avoid variables with short names like M 3 338
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 338
ShortVariable Avoid variables with short names like N1 3 340
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 340
ShortVariable Avoid variables with short names like N2 3 342
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 342
ShortVariable Avoid variables with short names like h1 3 512
ShortVariable Avoid variables with short names like h2 3 513
ShortVariable Avoid variables with short names like k1 3 518
ShortVariable Avoid variables with short names like k2 3 519
ShortVariable Avoid variables with short names like k1 3 538
ShortVariable Avoid variables with short names like k2 3 539
ShortVariable Avoid variables with short names like k 3 718
ShortVariable Avoid variables with short names like k1 3 724
ShortVariable Avoid variables with short names like r0 3 782
ShortVariable Avoid variables with short names like r0 3 833
ShortVariable Avoid variables with short names like r1 3 834
ShortVariable Avoid variables with short names like k 3 918
ShortVariable Avoid variables with short names like k1 3 923
ShortVariable Avoid variables with short names like k 3 1059
ShortVariable Avoid variables with short names like k1 3 1068
ShortVariable Avoid variables with short names like k1 3 1135
ShortVariable Avoid variables with short names like k 3 1181
ShortVariable Avoid variables with short names like k1 3 1229
ShortVariable Avoid variables with short names like k 3 1248

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

Rule Violation Priority Line
ShortVariable Avoid variables with short names like T 3 54
ShortVariable Avoid variables with short names like b 3 602
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 645

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 602
ShortVariable Avoid variables with short names like c1 3 603
ShortVariable Avoid variables with short names like c2 3 604
ShortVariable Avoid variables with short names like c3 3 605
ShortVariable Avoid variables with short names like c4 3 607
ShortVariable Avoid variables with short names like c5 3 608
ShortVariable Avoid variables with short names like c6 3 609
ShortVariable Avoid variables with short names like c7 3 610
ShortVariable Avoid variables with short names like b 3 644

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

Rule Violation Priority Line
CommentDefaultAccessModifier Missing commented default access modifier on field 'KEY_MAX_PROPERTY' 3 56
LongVariable Avoid excessively long variable names like ROUNDS_MAX_DEFAULT 3 65
LongVariable Avoid excessively long variable names like ROUNDS_MAX_PROPERTY 3 74
CommentDefaultAccessModifier Missing commented default access modifier on field 'ROUNDS_MAX_PROPERTY' 3 74
CommentDefaultAccessModifier Missing commented default access modifier on field 'SHA256_PREFIX' 3 80
CommentDefaultAccessModifier Missing commented default access modifier on field 'SHA512_PREFIX' 3 86
PrematureDeclaration Declaration of 'rounds' can be moved closer to its usages 3 217
PrematureDeclaration Declaration of 'roundsCustom' can be moved closer to its usages 3 218
ShortVariable Avoid variables with short names like m 3 222
ConfusingTernary Avoid if (x != y) ..; else ..; 3 332–336
ShortVariable Avoid variables with short names like cp 3 380
ConfusingTernary Avoid if (x != y) ..; else ..; 3 451–455
ConfusingTernary Avoid if (x != y) ..; else ..; 3 478–482

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

Rule Violation Priority Line
LongVariable Avoid excessively long variable names like CRYPT_SALT_PATTERN 3 48
UseUnderscoresInNumericLiterals Number 10240 should separate every third digit with an underscore 3 117
UseUnderscoresInNumericLiterals Number 10242 should separate every third digit with an underscore 3 118
UseUnderscoresInNumericLiterals Number 10272 should separate every third digit with an underscore 3 119
UseUnderscoresInNumericLiterals Number 10274 should separate every third digit with an underscore 3 119
UseUnderscoresInNumericLiterals Number 16384 should separate every third digit with an underscore 3 151
UseUnderscoresInNumericLiterals Number 16648 should separate every third digit with an underscore 3 151
UseUnderscoresInNumericLiterals Number 16384 should separate every third digit with an underscore 3 151
UseUnderscoresInNumericLiterals Number 16640 should separate every third digit with an underscore 3 151
UseUnderscoresInNumericLiterals Number 16640 should separate every third digit with an underscore 3 152
UseUnderscoresInNumericLiterals Number 16392 should separate every third digit with an underscore 3 152
UseUnderscoresInNumericLiterals Number 16648 should separate every third digit with an underscore 3 152
UseUnderscoresInNumericLiterals Number 16392 should separate every third digit with an underscore 3 153
UseUnderscoresInNumericLiterals Number 16392 should separate every third digit with an underscore 3 153
UseUnderscoresInNumericLiterals Number 16384 should separate every third digit with an underscore 3 154
UseUnderscoresInNumericLiterals Number 16640 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 16384 should separate every third digit with an underscore 3 155
UseUnderscoresInNumericLiterals Number 16640 should separate every third digit with an underscore 3 155
UseUnderscoresInNumericLiterals Number 16648 should separate every third digit with an underscore 3 156
UseUnderscoresInNumericLiterals Number 32800 should separate every third digit with an underscore 3 169
UseUnderscoresInNumericLiterals Number 32800 should separate every third digit with an underscore 3 170
UseUnderscoresInNumericLiterals Number 32768 should separate every third digit with an underscore 3 170
UseUnderscoresInNumericLiterals Number 32768 should separate every third digit with an underscore 3 171
UseUnderscoresInNumericLiterals Number 32768 should separate every third digit with an underscore 3 172
UseUnderscoresInNumericLiterals Number 32800 should separate every third digit with an underscore 3 172
UseUnderscoresInNumericLiterals Number 32800 should separate every third digit with an underscore 3 174
UseUnderscoresInNumericLiterals Number 32768 should separate every third digit with an underscore 3 175
ShortVariable Avoid variables with short names like t 3 180
UseUnderscoresInNumericLiterals Number 65535 should separate every third digit with an underscore 3 204
ShortVariable Avoid variables with short names like b 3 216
ShortVariable Avoid variables with short names like b 3 271
ShortVariable Avoid variables with short names like i 3 275
ShortVariable Avoid variables with short names like y 3 276
ShortVariable Avoid variables with short names like u 3 277
ShortVariable Avoid variables with short names like j 3 279
ShortVariable Avoid variables with short names like c 3 280
ShortVariable Avoid variables with short names like el 3 324
ShortVariable Avoid variables with short names like r 3 324
ShortVariable Avoid variables with short names like s 3 324
ShortVariable Avoid variables with short names like e0 3 324
ShortVariable Avoid variables with short names like e1 3 324
ShortVariable Avoid variables with short names like v 3 325
ShortVariable Avoid variables with short names like u 3 326
ShortVariable Avoid variables with short names like t 3 329
ShortVariable Avoid variables with short names like c 3 339
ShortVariable Avoid variables with short names like d 3 340
ShortVariable Avoid variables with short names like j 3 358
ShortVariable Avoid variables with short names like s 3 369
ShortVariable Avoid variables with short names like t 3 372
ShortVariable Avoid variables with short names like b 3 383
ShortVariable Avoid variables with short names like a 3 391
ShortVariable Avoid variables with short names like n 3 391
ShortVariable Avoid variables with short names like m 3 391
ShortVariable Avoid variables with short names like t 3 392
ShortVariable Avoid variables with short names like b 3 396
ShortVariable Avoid variables with short names like a 3 403
ShortVariable Avoid variables with short names like b 3 403
ShortVariable Avoid variables with short names like n 3 403
ShortVariable Avoid variables with short names like m 3 403
ShortVariable Avoid variables with short names like t 3 404

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 131
ShortVariable Avoid variables with short names like s0 3 133
ShortVariable Avoid variables with short names like s1 3 134
ShortVariable Avoid variables with short names like s2 3 135
ShortVariable Avoid variables with short names like s3 3 136
ShortVariable Avoid variables with short names like b 3 157
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 159
ShortVariable Avoid variables with short names like b 3 193

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

Rule Violation Priority Line
CallSuperInConstructor It is a good practice to call super() in a constructor 3 43
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 58

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

Rule Violation Priority Line
CallSuperInConstructor It is a good practice to call super() in a constructor 3 43
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 58

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

Rule Violation Priority Line
CommentDefaultAccessModifier Missing commented default access modifier on method 'isEmpty()' 3 207
CommentDefaultAccessModifier Missing commented default access modifier on method 'length()' 3 211
CommentDefaultAccessModifier Missing commented default access modifier on constructor 'CologneInputBuffer(char[])' 3 223
CommentDefaultAccessModifier Missing commented default access modifier on method 'getNextChar()' 3 234
CommentDefaultAccessModifier Missing commented default access modifier on method 'removeNext()' 3 242
ShortVariable Avoid variables with short names like ch 3 243
CommentDefaultAccessModifier Missing commented default access modifier on constructor 'CologneOutputBuffer(int)' 3 253
CommentDefaultAccessModifier Missing commented default access modifier on method 'put(char)' 3 269
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
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 285
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 287
ShortVariable Avoid variables with short names like SZ 3 289
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 289
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 291
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 293
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 295
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 303
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 329
ConfusingTernary Avoid if (x != y) ..; else ..; 3 338–342

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

Rule Violation Priority Line
ShortClassName Avoid short class names like Rule 4 155
LongVariable Avoid excessively long variable names like replacementAtStart 3 158
LongVariable Avoid excessively long variable names like replacementBeforeVowel 3 159
LongVariable Avoid excessively long variable names like replacementDefault 3 160
LongVariable Avoid excessively long variable names like replacementAtStart 3 162
LongVariable Avoid excessively long variable names like replacementBeforeVowel 3 162
LongVariable Avoid excessively long variable names like replacementDefault 3 163
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 176
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 182
ShortVariable Avoid variables with short names like ch 3 188
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 206
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 208
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 210
LongVariable Avoid excessively long variable names like MULTILINE_COMMENT_END 3 212
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 212
LongVariable Avoid excessively long variable names like MULTILINE_COMMENT_START 3 214
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 214
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 217
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 220
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 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 230
LongVariable Avoid excessively long variable names like inMultilineComment 3 243
ShortVariable Avoid variables with short names like r 3 291
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 sb 3 348
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 401
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 445
ShortVariable Avoid variables with short names like ch 3 452

org/apache/commons/codec/language/DoubleMetaphone.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 183
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 188
LongVariable Avoid excessively long variable names like L_R_N_M_B_H_F_V_W_SPACE 3 190
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 190
LongVariable Avoid excessively long variable names like ES_EP_EB_EL_EY_IB_IL_IN_IE_EI_ER 3 191
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 191
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 192
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 220
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 238
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 248
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 262
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 265
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 268
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 271
ShortVariable Avoid variables with short names like c 3 273
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 283
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 287
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 309
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 321
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 347
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 521
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 579
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 584
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 589
ConfusingTernary Avoid if (x != y) ..; else ..; 3 636–641
ShortVariable Avoid variables with short names like ch 3 1043

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

Rule Violation Priority Line
CommentDefaultAccessModifier Missing commented default access modifier on method 'cleanName(String)' 3 86
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 145
CommentDefaultAccessModifier Missing commented default access modifier on method 'getFirst3Last3(String)' 3 166
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 172
CommentDefaultAccessModifier Missing commented default access modifier on method 'getMinRating(int)' 3 192
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 226
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 229
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 232
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 256
CommentDefaultAccessModifier Missing commented default access modifier on method 'isVowel(String)' 3 286
CommentDefaultAccessModifier Missing commented default access modifier on method 'leftToRightThenRightToLeftProcessing(String, String)' 3 304
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 347
CommentDefaultAccessModifier Missing commented default access modifier on method 'removeAccents(String)' 3 360
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 362
ShortVariable Avoid variables with short names like sb 3 365
ShortVariable Avoid variables with short names like n 3 366
ShortVariable Avoid variables with short names like c 3 369
CommentDefaultAccessModifier Missing commented default access modifier on method 'removeDoubleConsonants(String)' 3 393
CommentDefaultAccessModifier Missing commented default access modifier on method 'removeVowels(String)' 3 416
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 430

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

Rule Violation Priority Line
ShortVariable Avoid variables with short names like n 3 122
ShortVariable Avoid variables with short names like c 3 137
ShortVariable Avoid variables with short names like c 3 145
PrematureDeclaration Declaration of 'hard' can be moved closer to its usages 3 168
VariableDeclarationUsageDistance Distance between declaration of 'hard' and its first usage is 9, current threshold is 7 3 168
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 171
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 175
ShortVariable Avoid variables with short names like n 3 221

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 245
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 252

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

Rule Violation Priority Line
LongVariable Avoid excessively long variable names like US_ENGLISH_MAPPING_STRING 3 52
LongVariable Avoid excessively long variable names like US_ENGLISH_MAPPING 3 59
ShortVariable Avoid variables with short names like s1 3 129
ShortVariable Avoid variables with short names like s2 3 129
CommentDefaultAccessModifier Missing commented default access modifier on method 'getMappingCode(char)' 3 175
ShortVariable Avoid variables with short names like c 3 175
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 177
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 181
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 199

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

Rule Violation Priority Line
LongVariable Avoid excessively long variable names like US_ENGLISH_MAPPING_STRING 3 58
LongVariable Avoid excessively long variable names like US_ENGLISH_MAPPING 3 65
LongVariable Avoid excessively long variable names like US_ENGLISH_SIMPLIFIED 3 84
LongVariable Avoid excessively long variable names like US_ENGLISH_GENEALOGY 3 98
ShortVariable Avoid variables with short names like s1 3 191
ShortVariable Avoid variables with short names like s2 3 191
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 238
ShortVariable Avoid variables with short names like ch 3 251
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 279
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 283
ShortVariable Avoid variables with short names like ch 3 291

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

Rule Violation Priority Line
CommentDefaultAccessModifier Missing commented default access modifier on method 'clean(String)' 3 41
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 43
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 54
CommentDefaultAccessModifier Missing commented default access modifier on method 'difference(StringEncoder, String, String)' 3 75
ShortVariable Avoid variables with short names like s1 3 75
ShortVariable Avoid variables with short names like s2 3 75
CommentDefaultAccessModifier Missing commented default access modifier on method 'differenceEncoded(String, String)' 3 92
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 94
CommentDefaultAccessModifier Missing commented default access modifier on method 'isEmpty(CharSequence)' 3 120
ShortVariable Avoid variables with short names like cs 3 120

org/apache/commons/codec/language/bm/BeiderMorseEncoder.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 120

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
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 106
LongVariable Avoid excessively long variable names like languageRulesResourceName 3 138
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 186
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 188
ShortVariable Avoid variables with short names like ls 3 203
ShortVariable Avoid variables with short names like ls 3 226

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

Rule Violation Priority Line
CommentDefaultAccessModifier Missing commented default access modifier on method 'merge(LanguageSet)' 3 119
CallSuperInConstructor It is a good practice to call super() in a constructor 3 136
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 172
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 186
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 189
LambdaCanBeMethodReference Lambda expression could be written as a method reference: `someLanguages.languages::contains` 3 192
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 205
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 207
LongVariable Avoid excessively long variable names like languagesResourceName 3 325
ShortVariable Avoid variables with short names like ls 3 327
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 351

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

Rule Violation Priority Line
CommentDefaultAccessModifier Missing commented default access modifier on nested class 'PhonemeBuilder' 3 179
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 192
ShortVariable Avoid variables with short names like i 3 277
CommentDefaultAccessModifier Missing commented default access modifier on constructor 'RulesApplication(Map<String, List<Rule>>, CharSequence, PhonemeBuilder, int, int)' 3 285
ShortVariable Avoid variables with short names like i 3 285
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 336
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 338
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 368
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 370
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 372
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 374
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 376
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 378
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 438
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 516
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 524
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 560
ShortVariable Avoid variables with short names like i 3 634

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

Rule Violation Priority Line
CommentDefaultAccessModifier Missing commented default access modifier on field 'CMT' 3 35
CommentDefaultAccessModifier Missing commented default access modifier on field 'ENCODING' 3 36
CommentDefaultAccessModifier Missing commented default access modifier on field 'EXT_CMT_END' 3 37
CommentDefaultAccessModifier Missing commented default access modifier on field 'EXT_CMT_START' 3 38
CommentDefaultAccessModifier Missing commented default access modifier on field 'SPACES' 3 39

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

Rule Violation Priority Line
ShortClassName Avoid short class names like Rule 4 81
ShortVariable Avoid variables with short names like c 3 98
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 277
LongVariable Avoid excessively long variable names like ALL_STRINGS_RMATCHER 3 282
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 290
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 292
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 293
LongVariable Avoid excessively long variable names like HASH_INCLUDE_LENGTH 3 294
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 294
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 295
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 296
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 297
ShortVariable Avoid variables with short names like rt 3 330
ShortVariable Avoid variables with short names like rt 3 335
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 350
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 354
ShortVariable Avoid variables with short names like rt 3 368
LambdaCanBeMethodReference Lambda expression could be written as a method reference: `allRules::addAll` 3 371
ShortVariable Avoid variables with short names like rt 3 383
ShortVariable Avoid variables with short names like rt 3 396
ShortVariable Avoid variables with short names like rt 3 409
ShortVariable Avoid variables with short names like ph 3 417
ShortVariable Avoid variables with short names like in 3 424
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 426
CommentDefaultAccessModifier Missing commented default access modifier on method 'parsePhonemeExpr(String)' 3 434
ShortVariable Avoid variables with short names like ph 3 434
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 449
LongVariable Avoid excessively long variable names like inMultilineComment 3 457
LongVariable Avoid excessively long variable names like hashIncludeScanner 3 485
ShortVariable Avoid variables with short names like ph 3 498
ShortVariable Avoid variables with short names like r 3 500
ShortVariable Avoid variables with short names like sb 3 507
ConfusingTernary Avoid if (x != y) ..; else ..; 3 541–589
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 546
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 548
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 552
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 556
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 560
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 577
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 581
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 585
CommentDefaultAccessModifier Missing commented default access modifier on field 'pattern' 3 592
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 604
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 608
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 624
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 625
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 626
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 627
ShortVariable Avoid variables with short names like i 3 688
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 696
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 701
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 704

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

Rule Violation Priority Line
LongVariable Avoid excessively long variable names like DECODING_POLICY_DEFAULT 3 71
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 150
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 190
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 227

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

Rule Violation Priority Line
LongVariable Avoid excessively long variable names like alwaysEncodeCharsMin 3 65
LongVariable Avoid excessively long variable names like alwaysEncodeCharsMax 3 65
ShortVariable Avoid variables with short names like c 3 93
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 100
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 115
ShortVariable Avoid variables with short names like b 3 119
ShortVariable Avoid variables with short names like u 3 122
ShortVariable Avoid variables with short names like l 3 123
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 147
ShortVariable Avoid variables with short names like bb 3 159
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 186
LongVariable Avoid excessively long variable names like expectedEncodingBytes 3 188
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 191
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 206
ShortVariable Avoid variables with short names like b 3 217
ShortVariable Avoid variables with short names like c 3 232
ShortVariable Avoid variables with short names like b 3 242
LongVariable Avoid excessively long variable names like alwaysEncodeCharsArray 3 260
ShortVariable Avoid variables with short names like c 3 269

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 193
ShortVariable Avoid variables with short names like b 3 205
ConfusingTernary Avoid if (x != y) ..; else ..; 3 206–210
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 212
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 245
ShortVariable Avoid variables with short names like b 3 322

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

Rule Violation Priority Line
ShortVariable Avoid variables with short names like CR 3 76
ShortVariable Avoid variables with short names like LF 3 77
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 141
ShortVariable Avoid variables with short names like l 3 142
ShortVariable Avoid variables with short names like b 3 163
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 201
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 210
ShortVariable Avoid variables with short names like b 3 216
ShortVariable Avoid variables with short names like b 3 232
ShortVariable Avoid variables with short names like b 3 251
ShortVariable Avoid variables with short names like b 3 272
ShortVariable Avoid variables with short names like b 3 289
ShortVariable Avoid variables with short names like b 3 302
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 309
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 314
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 395
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 398
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 432
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 449
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 479
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 482
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 541

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

Rule Violation Priority Line
CommentDefaultAccessModifier Missing commented default access modifier on constructor 'RFC1522Codec(Charset)' 3 58
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 76
ShortVariable Avoid variables with short names like to 3 83
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 173

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 118
ShortVariable Avoid variables with short names like b 3 125
ShortVariable Avoid variables with short names like u 3 130
ShortVariable Avoid variables with short names like l 3 131
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 182
ShortVariable Avoid variables with short names like b 3 190
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 216
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 275
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 278
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 306
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 338
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 367
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 370
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 413

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

Rule Violation Priority Line
CommentDefaultAccessModifier Missing commented default access modifier on field 'SPACE' 3 38
CommentDefaultAccessModifier Missing commented default access modifier on method 'digit16(byte)' 3 47
ShortVariable Avoid variables with short names like b 3 47
ShortVariable Avoid variables with short names like i 3 48
CommentDefaultAccessModifier Missing commented default access modifier on method 'hexChar(int)' 3 61
ShortVariable Avoid variables with short names like b 3 61

Suppressed Violations

Filename Rule message Suppression type Reason
org/apache/commons/codec/binary/Base16InputStream.java Unused import 'org.apache.commons.codec.binary.BaseNCodecInputStream.AbstracBuilder' //nopmd : Required by ECJ (Eclipse)
org/apache/commons/codec/binary/Base16OutputStream.java Unused import 'org.apache.commons.codec.binary.BaseNCodecOutputStream.AbstractBuilder' //nopmd : Required by ECJ (Eclipse)
org/apache/commons/codec/binary/Base32InputStream.java Unused import 'org.apache.commons.codec.binary.BaseNCodecInputStream.AbstracBuilder' //nopmd : Required by ECJ (Eclipse)
org/apache/commons/codec/binary/Base32OutputStream.java Unused import 'org.apache.commons.codec.binary.BaseNCodecOutputStream.AbstractBuilder' //nopmd : Required by ECJ (Eclipse)
org/apache/commons/codec/binary/Base64InputStream.java Unused import 'org.apache.commons.codec.binary.BaseNCodecInputStream.AbstracBuilder' //nopmd : Required by ECJ (Eclipse)
org/apache/commons/codec/binary/Base64OutputStream.java Unused import 'org.apache.commons.codec.binary.BaseNCodecOutputStream.AbstractBuilder' //nopmd : Required by ECJ (Eclipse)