Apache Commons logo Commons Codec

PMD Results

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

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]*' 248
MethodNamingConventions The static method name 'getSha3_256Digest' doesn't match '[a-z][a-zA-Z0-9]*' 260
MethodNamingConventions The static method name 'getSha3_384Digest' doesn't match '[a-z][a-zA-Z0-9]*' 272
MethodNamingConventions The static method name 'getSha3_512Digest' doesn't match '[a-z][a-zA-Z0-9]*' 284
MethodNamingConventions The static method name 'getSha512_224Digest' doesn't match '[a-z][a-zA-Z0-9]*' 306
MethodNamingConventions The static method name 'getSha512_256Digest' doesn't match '[a-z][a-zA-Z0-9]*' 317
MethodNamingConventions The static method name 'getShake128_256Digest' doesn't match '[a-z][a-zA-Z0-9]*' 356
MethodNamingConventions The static method name 'getShake256_512Digest' doesn't match '[a-z][a-zA-Z0-9]*' 372
MethodNamingConventions The static method name 'sha3_224' doesn't match '[a-z][a-zA-Z0-9]*' 699
MethodNamingConventions The static method name 'sha3_224' doesn't match '[a-z][a-zA-Z0-9]*' 711
MethodNamingConventions The static method name 'sha3_224' doesn't match '[a-z][a-zA-Z0-9]*' 722
MethodNamingConventions The static method name 'sha3_224Hex' doesn't match '[a-z][a-zA-Z0-9]*' 733
MethodNamingConventions The static method name 'sha3_224Hex' doesn't match '[a-z][a-zA-Z0-9]*' 745
MethodNamingConventions The static method name 'sha3_224Hex' doesn't match '[a-z][a-zA-Z0-9]*' 756
MethodNamingConventions The static method name 'sha3_256' doesn't match '[a-z][a-zA-Z0-9]*' 767
MethodNamingConventions The static method name 'sha3_256' doesn't match '[a-z][a-zA-Z0-9]*' 779
MethodNamingConventions The static method name 'sha3_256' doesn't match '[a-z][a-zA-Z0-9]*' 790
MethodNamingConventions The static method name 'sha3_256Hex' doesn't match '[a-z][a-zA-Z0-9]*' 801
MethodNamingConventions The static method name 'sha3_256Hex' doesn't match '[a-z][a-zA-Z0-9]*' 813
MethodNamingConventions The static method name 'sha3_256Hex' doesn't match '[a-z][a-zA-Z0-9]*' 824
MethodNamingConventions The static method name 'sha3_384' doesn't match '[a-z][a-zA-Z0-9]*' 835
MethodNamingConventions The static method name 'sha3_384' doesn't match '[a-z][a-zA-Z0-9]*' 847
MethodNamingConventions The static method name 'sha3_384' doesn't match '[a-z][a-zA-Z0-9]*' 858
MethodNamingConventions The static method name 'sha3_384Hex' doesn't match '[a-z][a-zA-Z0-9]*' 869
MethodNamingConventions The static method name 'sha3_384Hex' doesn't match '[a-z][a-zA-Z0-9]*' 881
MethodNamingConventions The static method name 'sha3_384Hex' doesn't match '[a-z][a-zA-Z0-9]*' 892
MethodNamingConventions The static method name 'sha3_512' doesn't match '[a-z][a-zA-Z0-9]*' 903
MethodNamingConventions The static method name 'sha3_512' doesn't match '[a-z][a-zA-Z0-9]*' 915
MethodNamingConventions The static method name 'sha3_512' doesn't match '[a-z][a-zA-Z0-9]*' 926
MethodNamingConventions The static method name 'sha3_512Hex' doesn't match '[a-z][a-zA-Z0-9]*' 937
MethodNamingConventions The static method name 'sha3_512Hex' doesn't match '[a-z][a-zA-Z0-9]*' 949
MethodNamingConventions The static method name 'sha3_512Hex' doesn't match '[a-z][a-zA-Z0-9]*' 960
MethodNamingConventions The static method name 'sha512_224' doesn't match '[a-z][a-zA-Z0-9]*' 1073
MethodNamingConventions The static method name 'sha512_224' doesn't match '[a-z][a-zA-Z0-9]*' 1085
MethodNamingConventions The static method name 'sha512_224' doesn't match '[a-z][a-zA-Z0-9]*' 1096
MethodNamingConventions The static method name 'sha512_224Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1107
MethodNamingConventions The static method name 'sha512_224Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1119
MethodNamingConventions The static method name 'sha512_224Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1130
MethodNamingConventions The static method name 'sha512_256' doesn't match '[a-z][a-zA-Z0-9]*' 1141
MethodNamingConventions The static method name 'sha512_256' doesn't match '[a-z][a-zA-Z0-9]*' 1153
MethodNamingConventions The static method name 'sha512_256' doesn't match '[a-z][a-zA-Z0-9]*' 1164
MethodNamingConventions The static method name 'sha512_256Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1175
MethodNamingConventions The static method name 'sha512_256Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1187
MethodNamingConventions The static method name 'sha512_256Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1198
MethodNamingConventions The static method name 'shake128_256' doesn't match '[a-z][a-zA-Z0-9]*' 1284
MethodNamingConventions The static method name 'shake128_256' doesn't match '[a-z][a-zA-Z0-9]*' 1296
MethodNamingConventions The static method name 'shake128_256' doesn't match '[a-z][a-zA-Z0-9]*' 1307
MethodNamingConventions The static method name 'shake128_256Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1318
MethodNamingConventions The static method name 'shake128_256Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1330
MethodNamingConventions The static method name 'shake128_256Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1341
MethodNamingConventions The static method name 'shake256_512' doesn't match '[a-z][a-zA-Z0-9]*' 1352
MethodNamingConventions The static method name 'shake256_512' doesn't match '[a-z][a-zA-Z0-9]*' 1364
MethodNamingConventions The static method name 'shake256_512' doesn't match '[a-z][a-zA-Z0-9]*' 1375
MethodNamingConventions The static method name 'shake256_512Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1386
MethodNamingConventions The static method name 'shake256_512Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1398
MethodNamingConventions The static method name 'shake256_512Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1409

Priority 3

org/apache/commons/codec/CharEncoding.java

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

org/apache/commons/codec/Charsets.java

Rule Violation Line
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 167

org/apache/commons/codec/DecoderException.java

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

org/apache/commons/codec/EncoderException.java

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

org/apache/commons/codec/Resources.java

Rule Violation Line
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 52

org/apache/commons/codec/StringEncoderComparator.java

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

org/apache/commons/codec/binary/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 103
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 103
LongVariable Avoid excessively long variable names like BYTES_PER_ENCODED_BLOCK 105
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 105
LongVariable Avoid excessively long variable names like BYTES_PER_UNENCODED_BLOCK 107
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 107
LongVariable Avoid excessively long variable names like UPPER_CASE_DECODE_TABLE 113
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 113
LongVariable Avoid excessively long variable names like UPPER_CASE_ENCODE_TABLE 126
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 126
LongVariable Avoid excessively long variable names like LOWER_CASE_DECODE_TABLE 133
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 133
LongVariable Avoid excessively long variable names like LOWER_CASE_ENCODE_TABLE 147
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 147
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 150
CommentDefaultAccessModifier Missing commented default access modifier on method 'decode(byte[], int, int, Context)' 197
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 203
ConfusingTernary Avoid if (x != y) ..; else ..; 206
CommentDefaultAccessModifier Missing commented default access modifier on method 'encode(byte[], int, int, Context)' 251
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 253

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

Rule Violation Line
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 45
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 144
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 144
LongVariable Avoid excessively long variable names like BYTES_PER_ENCODED_BLOCK 146
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 146
LongVariable Avoid excessively long variable names like BYTES_PER_UNENCODED_BLOCK 147
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 147
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 154
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 175
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. 209
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. 229
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. 288
CommentDefaultAccessModifier Missing commented default access modifier on method 'decode(byte[], int, int, Context)' 523
ShortVariable Avoid variables with short names like b 533
CommentDefaultAccessModifier Missing commented default access modifier on method 'encode(byte[], int, int, Context)' 629
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 632
ShortVariable Avoid variables with short names like b 699
CommentDefaultAccessModifier Missing commented default access modifier on method 'getLineSeparator()' 729

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

Rule Violation Line
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 66
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/Base64.java

Rule Violation Line
LongVariable Avoid excessively long variable names like isStandardEncodeTable 114
LongVariable Avoid excessively long variable names like BITS_PER_ENCODED_BYTE 137
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 137
LongVariable Avoid excessively long variable names like BYTES_PER_UNENCODED_BLOCK 138
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 138
LongVariable Avoid excessively long variable names like BYTES_PER_ENCODED_BLOCK 139
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 139
LongVariable Avoid excessively long variable names like DECODING_TABLE_LENGTH 140
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 140
LongVariable Avoid excessively long variable names like STANDARD_ENCODE_TABLE 150
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 150
LongVariable Avoid excessively long variable names like URL_SAFE_ENCODE_TABLE 162
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 162
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. 199
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
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 356
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 478
CommentDefaultAccessModifier Missing commented default access modifier on method 'toIntegerBytes(BigInteger)' 505
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 512
CommentDefaultAccessModifier Missing commented default access modifier on method 'toUrlSafeEncodeTable(boolean)' 529
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. 542
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 isStandardEncodeTable 547
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 547
CommentDefaultAccessModifier Missing commented default access modifier on method 'decode(byte[], int, int, Context)' 760
ShortVariable Avoid variables with short names like b 770
CommentDefaultAccessModifier Missing commented default access modifier on method 'encode(byte[], int, int, Context)' 842
ShortVariable Avoid variables with short names like in 842
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 844
ShortVariable Avoid variables with short names like b 892
CommentDefaultAccessModifier Missing commented default access modifier on method 'getLineSeparator()' 918

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

Rule Violation Line
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 68
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
LongVariable Avoid excessively long variable names like unencodedBlockSize 61
LongVariable Avoid excessively long variable names like defaultEncodeTable 66
CommentDefaultAccessModifier Missing commented default access modifier on constructor 'AbstractBuilder(byte[])' 73
LongVariable Avoid excessively long variable names like defaultEncodeTable 73
CommentDefaultAccessModifier Missing commented default access modifier on method 'asThis()' 91
CommentDefaultAccessModifier Missing commented default access modifier on method 'getDecodeTable()' 95
CommentDefaultAccessModifier Missing commented default access modifier on method 'getDecodingPolicy()' 99
CommentDefaultAccessModifier Missing commented default access modifier on method 'getEncodedBlockSize()' 103
CommentDefaultAccessModifier Missing commented default access modifier on method 'getEncodeTable()' 107
CommentDefaultAccessModifier Missing commented default access modifier on method 'getLineLength()' 111
CommentDefaultAccessModifier Missing commented default access modifier on method 'getLineSeparator()' 115
CommentDefaultAccessModifier Missing commented default access modifier on method 'getPadding()' 119
CommentDefaultAccessModifier Missing commented default access modifier on method 'getUnencodedBlockSize()' 123
LinguisticNaming Linguistics Antipattern - The setter 'setDecodeTable' should not return any type except void linguistically 134
LinguisticNaming Linguistics Antipattern - The setter 'setDecodeTableRaw' should not return any type except void linguistically 145
CommentDefaultAccessModifier Missing commented default access modifier on method 'setDecodeTableRaw(byte[])' 145
LinguisticNaming Linguistics Antipattern - The setter 'setDecodingPolicy' should not return any type except void linguistically 156
LinguisticNaming Linguistics Antipattern - The setter 'setEncodedBlockSize' should not return any type except void linguistically 167
CommentDefaultAccessModifier Missing commented default access modifier on method 'setEncodedBlockSize(int)' 167
LinguisticNaming Linguistics Antipattern - The setter 'setEncodeTable' should not return any type except void linguistically 178
LinguisticNaming Linguistics Antipattern - The setter 'setEncodeTableRaw' should not return any type except void linguistically 189
CommentDefaultAccessModifier Missing commented default access modifier on method 'setEncodeTableRaw(byte[])' 189
LinguisticNaming Linguistics Antipattern - The setter 'setLineLength' should not return any type except void linguistically 200
LinguisticNaming Linguistics Antipattern - The setter 'setLineSeparator' should not return any type except void linguistically 211
LinguisticNaming Linguistics Antipattern - The setter 'setPadding' should not return any type except void linguistically 222
LinguisticNaming Linguistics Antipattern - The setter 'setUnencodedBlockSize' should not return any type except void linguistically 233
CommentDefaultAccessModifier Missing commented default access modifier on method 'setUnencodedBlockSize(int)' 233
LongVariable Avoid excessively long variable names like unencodedBlockSize 233
CommentDefaultAccessModifier Missing commented default access modifier on nested class 'Context' 244
CommentDefaultAccessModifier Missing commented default access modifier on field 'ibitWorkArea' 249
CommentDefaultAccessModifier Missing commented default access modifier on field 'lbitWorkArea' 253
CommentDefaultAccessModifier Missing commented default access modifier on field 'buffer' 257
CommentDefaultAccessModifier Missing commented default access modifier on field 'pos' 261
CommentDefaultAccessModifier Missing commented default access modifier on field 'readPos' 265
CommentDefaultAccessModifier Missing commented default access modifier on field 'eof' 269
CommentDefaultAccessModifier Missing commented default access modifier on field 'currentLinePos' 274
CommentDefaultAccessModifier Missing commented default access modifier on field 'modulus' 278
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 297
CommentDefaultAccessModifier Missing commented default access modifier on field 'EOF' 297
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 307
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 317
LongVariable Avoid excessively long variable names like DEFAULT_BUFFER_RESIZE_FACTOR 318
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 318
LongVariable Avoid excessively long variable names like DEFAULT_BUFFER_SIZE 322
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 322
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 332
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 334
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 338
LongVariable Avoid excessively long variable names like DECODING_POLICY_DEFAULT 344
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 344
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 350
CommentDefaultAccessModifier Missing commented default access modifier on field 'CHUNK_SEPARATOR' 350
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 'EMPTY_BYTE_ARRAY' 354
CommentDefaultAccessModifier Missing commented default access modifier on method 'getLength(byte[])' 397
ShortVariable Avoid variables with short names like b 432
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 446
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 448
LongVariable Avoid excessively long variable names like unencodedBlockSize 450
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 450
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 452
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 457
LongVariable Avoid excessively long variable names like chunkSeparatorLength 461
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 461
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 475
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 480
CommentDefaultAccessModifier Missing commented default access modifier on field 'decodeTable' 480
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 485
CommentDefaultAccessModifier Missing commented default access modifier on field 'encodeTable' 485
LongVariable Avoid excessively long variable names like unencodedBlockSize 519
LongVariable Avoid excessively long variable names like chunkSeparatorLength 519
LongVariable Avoid excessively long variable names like unencodedBlockSize 538
LongVariable Avoid excessively long variable names like chunkSeparatorLength 538
LongVariable Avoid excessively long variable names like unencodedBlockSize 559
LongVariable Avoid excessively long variable names like chunkSeparatorLength 559
CommentDefaultAccessModifier Missing commented default access modifier on method 'available(Context)' 578
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 594
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 610
CommentDefaultAccessModifier Missing commented default access modifier on method 'decode(byte[], int, int, Context)' 621
ShortVariable Avoid variables with short names like i 621
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 634
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 661
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 677
CommentDefaultAccessModifier Missing commented default access modifier on method 'encode(byte[], int, int, Context)' 688
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 745
CommentDefaultAccessModifier Missing commented default access modifier on method 'hasData(Context)' 797
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 819
CommentDefaultAccessModifier Missing commented default access modifier on method 'readResults(byte[], int, int, Context)' 863
ShortVariable Avoid variables with short names like b 863
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 875

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

Rule Violation Line
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 59
CallSuperInConstructor It is a good practice to call super() in a constructor 59
LinguisticNaming Linguistics Antipattern - The setter 'setInputStream' should not return any type except void linguistically 78
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 84
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 85
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 86
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 87
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 88
ShortVariable Avoid variables with short names like r 180
ShortVariable Avoid variables with short names like b 185
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 209
ShortVariable Avoid variables with short names like c 225
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 235
ConfusingTernary Avoid if (x != y) ..; else ..; 235
ShortVariable Avoid variables with short names like n 263
ShortVariable Avoid variables with short names like b 268

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

Rule Violation Line
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 65
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 232

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 82
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 108
CommentDefaultAccessModifier Missing commented default access modifier on method 'isEmpty(byte[])' 132
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 174
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 208
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 235
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 241
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 286

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
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 80

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

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

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

Rule Violation Line
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 74
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 77
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 80
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 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
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 422

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

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

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

Rule Violation Line
CommentDefaultAccessModifier Missing commented default access modifier on field 'B64T_STRING' 36
CommentDefaultAccessModifier Missing commented default access modifier on field 'B64T_ARRAY' 41
CommentDefaultAccessModifier Missing commented default access modifier on method 'b64from24bit(byte, byte, byte, int, StringBuilder)' 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 166
LongVariable Avoid excessively long variable names like parentNodesRemaining 191
ShortVariable Avoid variables with short names like cv 203
LongVariable Avoid excessively long variable names like inputChainingValue 220
LongVariable Avoid excessively long variable names like inputChainingValue 226
LongVariable Avoid excessively long variable names like outputBlockCounter 239
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 255
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 256
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 257
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 258
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 259
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 260
LongVariable Avoid excessively long variable names like CHAINING_VALUE_INTS 261
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 261
ShortVariable Avoid variables with short names like IV 266
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 266
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 269
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 270
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 271
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 272
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 273
LongVariable Avoid excessively long variable names like DERIVE_KEY_CONTEXT 274
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 274
LongVariable Avoid excessively long variable names like DERIVE_KEY_MATERIAL 275
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 275
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 281
ShortMethodName Avoid using short method names 327
ShortVariable Avoid variables with short names like a 327
ShortVariable Avoid variables with short names like b 327
ShortVariable Avoid variables with short names like c 327
ShortVariable Avoid variables with short names like d 327
ShortVariable Avoid variables with short names like mx 327
ShortVariable Avoid variables with short names like my 327
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 447
ShortVariable Avoid variables with short names like in 515
ShortVariable Avoid variables with short names like in 530

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

Rule Violation Line
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 57
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 77
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 80
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 83
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 86
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 182

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

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

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 789
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 805
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 874

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

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

org/apache/commons/codec/digest/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
UnnecessaryCast Unnecessary cast (long) 50
UnnecessaryCast Unnecessary cast (long) 51
UnnecessaryCast Unnecessary cast (long) 52
UnnecessaryCast Unnecessary cast (long) 53
UnnecessaryCast Unnecessary cast (long) 54
UnnecessaryCast Unnecessary cast (long) 55
UnnecessaryCast Unnecessary cast (long) 56
UnnecessaryCast Unnecessary cast (long) 57

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

Rule Violation Line
ShortVariable Avoid variables with short names like h 89
ShortVariable Avoid variables with short names like k 95
ShortVariable Avoid variables with short names like h 194
ShortVariable Avoid variables with short names like k 199
UnnecessaryCast Unnecessary cast (long) 211
UnnecessaryCast Unnecessary cast (long) 214
UnnecessaryCast Unnecessary cast (long) 217
UnnecessaryCast Unnecessary cast (long) 220
UnnecessaryCast Unnecessary cast (long) 223
UnnecessaryCast Unnecessary cast (long) 226
UnnecessaryCast Unnecessary cast (long) 229

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

Rule Violation Line
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 86
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
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 177
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. 322
UseUnderscoresInNumericLiterals Number 104729 should separate every third digit with an underscore 322
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 324
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. 329
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 330
ShortVariable Avoid variables with short names like C1 332
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 332
ShortVariable Avoid variables with short names like C2 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 R1 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 R2 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 R3 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 M 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 N1 339
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 339
ShortVariable Avoid variables with short names like N2 341
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 341
ShortVariable Avoid variables with short names like h1 511
ShortVariable Avoid variables with short names like h2 512
ShortVariable Avoid variables with short names like k1 517
ShortVariable Avoid variables with short names like k2 518
ShortVariable Avoid variables with short names like k1 537
ShortVariable Avoid variables with short names like k2 538
UnnecessaryCast Unnecessary cast (long) 542
UnnecessaryCast Unnecessary cast (long) 545
UnnecessaryCast Unnecessary cast (long) 548
UnnecessaryCast Unnecessary cast (long) 551
UnnecessaryCast Unnecessary cast (long) 554
UnnecessaryCast Unnecessary cast (long) 557
UnnecessaryCast Unnecessary cast (long) 567
UnnecessaryCast Unnecessary cast (long) 570
UnnecessaryCast Unnecessary cast (long) 573
UnnecessaryCast Unnecessary cast (long) 576
UnnecessaryCast Unnecessary cast (long) 579
UnnecessaryCast Unnecessary cast (long) 582
UnnecessaryCast Unnecessary cast (long) 585
ShortVariable Avoid variables with short names like k 717
ShortVariable Avoid variables with short names like k1 723
ShortVariable Avoid variables with short names like r0 781
ShortVariable Avoid variables with short names like r0 832
ShortVariable Avoid variables with short names like r1 833
ShortVariable Avoid variables with short names like k 917
ShortVariable Avoid variables with short names like k1 922
ShortVariable Avoid variables with short names like k 1058
ShortVariable Avoid variables with short names like k1 1067
UnnecessaryCast Unnecessary cast (long) 1071
UnnecessaryCast Unnecessary cast (long) 1074
UnnecessaryCast Unnecessary cast (long) 1077
UnnecessaryCast Unnecessary cast (long) 1080
UnnecessaryCast Unnecessary cast (long) 1083
UnnecessaryCast Unnecessary cast (long) 1086
UnnecessaryCast Unnecessary cast (long) 1089
ShortVariable Avoid variables with short names like k1 1134
ShortVariable Avoid variables with short names like k 1180
ShortVariable Avoid variables with short names like k1 1228
UnnecessaryCast Unnecessary cast (long) 1229
UnnecessaryCast Unnecessary cast (long) 1230
ShortVariable Avoid variables with short names like k 1247

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 'SHA256_PREFIX' 62
CommentDefaultAccessModifier Missing commented default access modifier on field 'SHA512_PREFIX' 68
PrematureDeclaration Declaration of 'keyLen' can be moved closer to its usages 156
PrematureDeclaration Declaration of 'rounds' can be moved closer to its usages 159
PrematureDeclaration Declaration of 'roundsCustom' can be moved closer to its usages 160
ShortVariable Avoid variables with short names like m 165
ConfusingTernary Avoid if (x != y) ..; else ..; 268272
ShortVariable Avoid variables with short names like cp 316
ConfusingTernary Avoid if (x != y) ..; else ..; 388392
ConfusingTernary Avoid if (x != y) ..; else ..; 415419
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 597

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
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 417

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

Rule Violation Line
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 39

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

Rule Violation Line
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 45

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

Rule Violation Line
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 41
CallSuperInConstructor It is a good practice to call super() in a constructor 41
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 56

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

Rule Violation Line
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 41
CallSuperInConstructor It is a good practice to call super() in a constructor 41
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 56

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

Rule Violation Line
CommentDefaultAccessModifier Missing commented default access modifier on nested class 'CologneBuffer' 190
CommentDefaultAccessModifier Missing commented default access modifier on constructor 'CologneBuffer(char[])' 196
CommentDefaultAccessModifier Missing commented default access modifier on constructor 'CologneBuffer(int)' 201
CommentDefaultAccessModifier Missing commented default access modifier on constructor 'CologneInputBuffer(char[])' 224
ShortVariable Avoid variables with short names like ch 244
CommentDefaultAccessModifier Missing commented default access modifier on constructor 'CologneOutputBuffer(int)' 254
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 281
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 282
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 283
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 284
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
ShortVariable Avoid variables with short names like SZ 288
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 288
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 290
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 292
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 294
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 302
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 311
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 328
ConfusingTernary Avoid if (x != y) ..; else ..; 342346

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

Rule Violation Line
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 99
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 102
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 402
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 446
ShortVariable Avoid variables with short names like ch 453

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
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 225
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 ..; 636641
ShortVariable Avoid variables with short names like ch 1043

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

Rule Violation Line
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 69
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 129
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 137
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 146
CommentDefaultAccessModifier Missing commented default access modifier on method 'getFirst3Last3(String)' 167
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 173
CommentDefaultAccessModifier Missing commented default access modifier on method 'getMinRating(int)' 191
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 222
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 225
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 228
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 231
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 255
CommentDefaultAccessModifier Missing commented default access modifier on method 'isVowel(String)' 285
CommentDefaultAccessModifier Missing commented default access modifier on method 'leftToRightThenRightToLeftProcessing(String, String)' 303
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 346
CommentDefaultAccessModifier Missing commented default access modifier on method 'removeAccents(String)' 359
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 361
ShortVariable Avoid variables with short names like sb 364
ShortVariable Avoid variables with short names like n 365
ShortVariable Avoid variables with short names like c 368
CommentDefaultAccessModifier Missing commented default access modifier on method 'removeDoubleConsonants(String)' 392
CommentDefaultAccessModifier Missing commented default access modifier on method 'removeVowels(String)' 415
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 429

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

Rule Violation Line
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 82
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
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 51
LongVariable Avoid excessively long variable names like US_ENGLISH_MAPPING 58
ShortVariable Avoid variables with short names like s1 128
ShortVariable Avoid variables with short names like s2 128
CommentDefaultAccessModifier Missing commented default access modifier on method 'getMappingCode(char)' 174
ShortVariable Avoid variables with short names like c 174
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 180
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 194
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 198

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

Rule Violation Line
LongVariable Avoid excessively long variable names like US_ENGLISH_MAPPING_STRING 61
LongVariable Avoid excessively long variable names like US_ENGLISH_MAPPING 69
LongVariable Avoid excessively long variable names like US_ENGLISH_SIMPLIFIED 93
LongVariable Avoid excessively long variable names like US_ENGLISH_GENEALOGY 110
ShortVariable Avoid variables with short names like s1 210
ShortVariable Avoid variables with short names like s2 210
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 257
ShortVariable Avoid variables with short names like ch 272
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 301
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 305
ShortVariable Avoid variables with short names like ch 313

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

Rule Violation Line
CommentDefaultAccessModifier Missing commented default access modifier on method 'clean(String)' 42
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 44
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 55
CommentDefaultAccessModifier Missing commented default access modifier on method 'difference(StringEncoder, String, String)' 86
ShortVariable Avoid variables with short names like s1 86
ShortVariable Avoid variables with short names like s2 86
CommentDefaultAccessModifier Missing commented default access modifier on method 'differenceEncoded(String, String)' 110
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 113
CommentDefaultAccessModifier Missing commented default access modifier on method 'isEmpty(CharSequence)' 139
ShortVariable Avoid variables with short names like cs 139

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

Rule Violation Line
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 93
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 108

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
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 86
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 313
ShortVariable Avoid variables with short names like ls 315
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 339

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

Rule Violation Line
CommentDefaultAccessModifier Missing commented default access modifier on nested class 'PhonemeBuilder' 65
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 79
ShortVariable Avoid variables with short names like i 169
CommentDefaultAccessModifier Missing commented default access modifier on constructor 'RulesApplication(Map<String, List<Rule>>, CharSequence, PhonemeBuilder, int, int)' 173
ShortVariable Avoid variables with short names like i 173
LongVariable Avoid excessively long variable names like DEFAULT_MAX_PHONEMES 227
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. 229
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. 258
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 260
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. 264
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 266
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 318
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 394
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 402
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 441

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

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

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 ..; 541589
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 55
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 125
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 155
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 163
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 180

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

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

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

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

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

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

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

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

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

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

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

Rule Violation Line
CommentDefaultAccessModifier Missing commented default access modifier on method 'digit16(byte)' 45
ShortVariable Avoid variables with short names like b 45
ShortVariable Avoid variables with short names like i 46
CommentDefaultAccessModifier Missing commented default access modifier on method 'hexChar(int)' 59
ShortVariable Avoid variables with short names like b 59

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 38

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

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

org/apache/commons/codec/Charsets.java

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

org/apache/commons/codec/DecoderException.java

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

org/apache/commons/codec/EncoderException.java

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

org/apache/commons/codec/Resources.java

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

org/apache/commons/codec/StringEncoderComparator.java

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

org/apache/commons/codec/binary/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 103
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 103
LongVariable Avoid excessively long variable names like BYTES_PER_ENCODED_BLOCK 3 105
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 105
LongVariable Avoid excessively long variable names like BYTES_PER_UNENCODED_BLOCK 3 107
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 107
LongVariable Avoid excessively long variable names like UPPER_CASE_DECODE_TABLE 3 113
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 113
LongVariable Avoid excessively long variable names like UPPER_CASE_ENCODE_TABLE 3 126
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 126
LongVariable Avoid excessively long variable names like LOWER_CASE_DECODE_TABLE 3 133
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 133
LongVariable Avoid excessively long variable names like LOWER_CASE_ENCODE_TABLE 3 147
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 147
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 150
CommentDefaultAccessModifier Missing commented default access modifier on method 'decode(byte[], int, int, Context)' 3 197
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 203
ConfusingTernary Avoid if (x != y) ..; else ..; 3 206
CommentDefaultAccessModifier Missing commented default access modifier on method 'encode(byte[], int, int, Context)' 3 251
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 253

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

Rule Violation Priority Line
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 3 45
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 144
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 144
LongVariable Avoid excessively long variable names like BYTES_PER_ENCODED_BLOCK 3 146
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 146
LongVariable Avoid excessively long variable names like BYTES_PER_UNENCODED_BLOCK 3 147
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 147
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 154
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 175
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 209
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 229
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 288
CommentDefaultAccessModifier Missing commented default access modifier on method 'decode(byte[], int, int, Context)' 3 523
ShortVariable Avoid variables with short names like b 3 533
CommentDefaultAccessModifier Missing commented default access modifier on method 'encode(byte[], int, int, Context)' 3 629
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 632
ShortVariable Avoid variables with short names like b 3 699
CommentDefaultAccessModifier Missing commented default access modifier on method 'getLineSeparator()' 3 729

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

Rule Violation Priority Line
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 3 66
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/Base64.java

Rule Violation Priority Line
LongVariable Avoid excessively long variable names like isStandardEncodeTable 3 114
LongVariable Avoid excessively long variable names like BITS_PER_ENCODED_BYTE 3 137
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 137
LongVariable Avoid excessively long variable names like BYTES_PER_UNENCODED_BLOCK 3 138
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 138
LongVariable Avoid excessively long variable names like BYTES_PER_ENCODED_BLOCK 3 139
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 139
LongVariable Avoid excessively long variable names like DECODING_TABLE_LENGTH 3 140
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 140
LongVariable Avoid excessively long variable names like STANDARD_ENCODE_TABLE 3 150
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 150
LongVariable Avoid excessively long variable names like URL_SAFE_ENCODE_TABLE 3 162
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 162
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 199
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
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 356
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 478
CommentDefaultAccessModifier Missing commented default access modifier on method 'toIntegerBytes(BigInteger)' 3 505
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 512
CommentDefaultAccessModifier Missing commented default access modifier on method 'toUrlSafeEncodeTable(boolean)' 3 529
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 542
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 isStandardEncodeTable 3 547
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 547
CommentDefaultAccessModifier Missing commented default access modifier on method 'decode(byte[], int, int, Context)' 3 760
ShortVariable Avoid variables with short names like b 3 770
CommentDefaultAccessModifier Missing commented default access modifier on method 'encode(byte[], int, int, Context)' 3 842
ShortVariable Avoid variables with short names like in 3 842
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 844
ShortVariable Avoid variables with short names like b 3 892
CommentDefaultAccessModifier Missing commented default access modifier on method 'getLineSeparator()' 3 918

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

Rule Violation Priority Line
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 3 68
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
LongVariable Avoid excessively long variable names like unencodedBlockSize 3 61
LongVariable Avoid excessively long variable names like defaultEncodeTable 3 66
CommentDefaultAccessModifier Missing commented default access modifier on constructor 'AbstractBuilder(byte[])' 3 73
LongVariable Avoid excessively long variable names like defaultEncodeTable 3 73
CommentDefaultAccessModifier Missing commented default access modifier on method 'asThis()' 3 91
CommentDefaultAccessModifier Missing commented default access modifier on method 'getDecodeTable()' 3 95
CommentDefaultAccessModifier Missing commented default access modifier on method 'getDecodingPolicy()' 3 99
CommentDefaultAccessModifier Missing commented default access modifier on method 'getEncodedBlockSize()' 3 103
CommentDefaultAccessModifier Missing commented default access modifier on method 'getEncodeTable()' 3 107
CommentDefaultAccessModifier Missing commented default access modifier on method 'getLineLength()' 3 111
CommentDefaultAccessModifier Missing commented default access modifier on method 'getLineSeparator()' 3 115
CommentDefaultAccessModifier Missing commented default access modifier on method 'getPadding()' 3 119
CommentDefaultAccessModifier Missing commented default access modifier on method 'getUnencodedBlockSize()' 3 123
LinguisticNaming Linguistics Antipattern - The setter 'setDecodeTable' should not return any type except void linguistically 3 134
LinguisticNaming Linguistics Antipattern - The setter 'setDecodeTableRaw' should not return any type except void linguistically 3 145
CommentDefaultAccessModifier Missing commented default access modifier on method 'setDecodeTableRaw(byte[])' 3 145
LinguisticNaming Linguistics Antipattern - The setter 'setDecodingPolicy' should not return any type except void linguistically 3 156
LinguisticNaming Linguistics Antipattern - The setter 'setEncodedBlockSize' should not return any type except void linguistically 3 167
CommentDefaultAccessModifier Missing commented default access modifier on method 'setEncodedBlockSize(int)' 3 167
LinguisticNaming Linguistics Antipattern - The setter 'setEncodeTable' should not return any type except void linguistically 3 178
LinguisticNaming Linguistics Antipattern - The setter 'setEncodeTableRaw' should not return any type except void linguistically 3 189
CommentDefaultAccessModifier Missing commented default access modifier on method 'setEncodeTableRaw(byte[])' 3 189
LinguisticNaming Linguistics Antipattern - The setter 'setLineLength' should not return any type except void linguistically 3 200
LinguisticNaming Linguistics Antipattern - The setter 'setLineSeparator' should not return any type except void linguistically 3 211
LinguisticNaming Linguistics Antipattern - The setter 'setPadding' should not return any type except void linguistically 3 222
LinguisticNaming Linguistics Antipattern - The setter 'setUnencodedBlockSize' should not return any type except void linguistically 3 233
CommentDefaultAccessModifier Missing commented default access modifier on method 'setUnencodedBlockSize(int)' 3 233
LongVariable Avoid excessively long variable names like unencodedBlockSize 3 233
CommentDefaultAccessModifier Missing commented default access modifier on nested class 'Context' 3 244
CommentDefaultAccessModifier Missing commented default access modifier on field 'ibitWorkArea' 3 249
CommentDefaultAccessModifier Missing commented default access modifier on field 'lbitWorkArea' 3 253
CommentDefaultAccessModifier Missing commented default access modifier on field 'buffer' 3 257
CommentDefaultAccessModifier Missing commented default access modifier on field 'pos' 3 261
CommentDefaultAccessModifier Missing commented default access modifier on field 'readPos' 3 265
CommentDefaultAccessModifier Missing commented default access modifier on field 'eof' 3 269
CommentDefaultAccessModifier Missing commented default access modifier on field 'currentLinePos' 3 274
CommentDefaultAccessModifier Missing commented default access modifier on field 'modulus' 3 278
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 297
CommentDefaultAccessModifier Missing commented default access modifier on field 'EOF' 3 297
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 307
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 317
LongVariable Avoid excessively long variable names like DEFAULT_BUFFER_RESIZE_FACTOR 3 318
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 318
LongVariable Avoid excessively long variable names like DEFAULT_BUFFER_SIZE 3 322
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 322
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 332
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 334
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 338
LongVariable Avoid excessively long variable names like DECODING_POLICY_DEFAULT 3 344
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 344
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 350
CommentDefaultAccessModifier Missing commented default access modifier on field 'CHUNK_SEPARATOR' 3 350
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 'EMPTY_BYTE_ARRAY' 3 354
CommentDefaultAccessModifier Missing commented default access modifier on method 'getLength(byte[])' 3 397
ShortVariable Avoid variables with short names like b 3 432
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 446
FieldNamingConventions The final field name 'PAD' doesn't match '[a-z][a-zA-Z0-9]*' 1 446
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 448
LongVariable Avoid excessively long variable names like unencodedBlockSize 3 450
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 450
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 452
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 457
LongVariable Avoid excessively long variable names like chunkSeparatorLength 3 461
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 461
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 475
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 480
CommentDefaultAccessModifier Missing commented default access modifier on field 'decodeTable' 3 480
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 485
CommentDefaultAccessModifier Missing commented default access modifier on field 'encodeTable' 3 485
LongVariable Avoid excessively long variable names like unencodedBlockSize 3 519
LongVariable Avoid excessively long variable names like chunkSeparatorLength 3 519
LongVariable Avoid excessively long variable names like unencodedBlockSize 3 538
LongVariable Avoid excessively long variable names like chunkSeparatorLength 3 538
LongVariable Avoid excessively long variable names like unencodedBlockSize 3 559
LongVariable Avoid excessively long variable names like chunkSeparatorLength 3 559
CommentDefaultAccessModifier Missing commented default access modifier on method 'available(Context)' 3 578
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 594
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 610
CommentDefaultAccessModifier Missing commented default access modifier on method 'decode(byte[], int, int, Context)' 3 621
ShortVariable Avoid variables with short names like i 3 621
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 634
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 661
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 677
CommentDefaultAccessModifier Missing commented default access modifier on method 'encode(byte[], int, int, Context)' 3 688
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 745
CommentDefaultAccessModifier Missing commented default access modifier on method 'hasData(Context)' 3 797
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 819
CommentDefaultAccessModifier Missing commented default access modifier on method 'readResults(byte[], int, int, Context)' 3 863
ShortVariable Avoid variables with short names like b 3 863
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 875

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

Rule Violation Priority Line
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 3 59
CallSuperInConstructor It is a good practice to call super() in a constructor 3 59
LinguisticNaming Linguistics Antipattern - The setter 'setInputStream' should not return any type except void linguistically 3 78
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 84
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 85
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 86
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 87
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 88
ShortVariable Avoid variables with short names like r 3 180
ShortVariable Avoid variables with short names like b 3 185
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 209
ShortVariable Avoid variables with short names like c 3 225
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 235
ConfusingTernary Avoid if (x != y) ..; else ..; 3 235
ShortVariable Avoid variables with short names like n 3 263
ShortVariable Avoid variables with short names like b 3 268

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

Rule Violation Priority Line
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 3 65
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 232

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 82
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 108
CommentDefaultAccessModifier Missing commented default access modifier on method 'isEmpty(byte[])' 3 132
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 174
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 3 208
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 235
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 241
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 286

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
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 3 80

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

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

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

Rule Violation Priority Line
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 74
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 77
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 80
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 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
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 3 422

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

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

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

Rule Violation Priority Line
ShortClassName Avoid short class names like B64 4 31
CommentDefaultAccessModifier Missing commented default access modifier on field 'B64T_STRING' 3 36
CommentDefaultAccessModifier Missing commented default access modifier on field 'B64T_ARRAY' 3 41
CommentDefaultAccessModifier Missing commented default access modifier on method 'b64from24bit(byte, byte, byte, int, StringBuilder)' 3 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 166
LongVariable Avoid excessively long variable names like parentNodesRemaining 3 191
ShortVariable Avoid variables with short names like cv 3 203
LongVariable Avoid excessively long variable names like inputChainingValue 3 220
LongVariable Avoid excessively long variable names like inputChainingValue 3 226
LongVariable Avoid excessively long variable names like outputBlockCounter 3 239
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 255
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 256
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 257
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 258
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 259
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 260
LongVariable Avoid excessively long variable names like CHAINING_VALUE_INTS 3 261
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 261
ShortVariable Avoid variables with short names like IV 3 266
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 266
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 269
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 270
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 271
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 272
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 273
LongVariable Avoid excessively long variable names like DERIVE_KEY_CONTEXT 3 274
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 274
LongVariable Avoid excessively long variable names like DERIVE_KEY_MATERIAL 3 275
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 275
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 281
ShortMethodName Avoid using short method names 3 327
ShortVariable Avoid variables with short names like a 3 327
ShortVariable Avoid variables with short names like b 3 327
ShortVariable Avoid variables with short names like c 3 327
ShortVariable Avoid variables with short names like d 3 327
ShortVariable Avoid variables with short names like mx 3 327
ShortVariable Avoid variables with short names like my 3 327
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 447
ShortVariable Avoid variables with short names like in 3 515
ShortVariable Avoid variables with short names like in 3 530

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

Rule Violation Priority Line
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 3 57
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 77
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 80
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 83
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 86
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 3 182

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

Rule Violation Priority Line
CommentDefaultAccessModifier Missing commented default access modifier on field 'BUFFER_SIZE' 3 62
LongVariable Avoid excessively long variable names like defaultMessageDigest 3 172
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 174
MethodNamingConventions The static method name 'getSha3_224Digest' doesn't match '[a-z][a-zA-Z0-9]*' 1 248
MethodNamingConventions The static method name 'getSha3_256Digest' doesn't match '[a-z][a-zA-Z0-9]*' 1 260
MethodNamingConventions The static method name 'getSha3_384Digest' doesn't match '[a-z][a-zA-Z0-9]*' 1 272
MethodNamingConventions The static method name 'getSha3_512Digest' doesn't match '[a-z][a-zA-Z0-9]*' 1 284
MethodNamingConventions The static method name 'getSha512_224Digest' doesn't match '[a-z][a-zA-Z0-9]*' 1 306
MethodNamingConventions The static method name 'getSha512_256Digest' doesn't match '[a-z][a-zA-Z0-9]*' 1 317
MethodNamingConventions The static method name 'getShake128_256Digest' doesn't match '[a-z][a-zA-Z0-9]*' 1 356
MethodNamingConventions The static method name 'getShake256_512Digest' doesn't match '[a-z][a-zA-Z0-9]*' 1 372
LongVariable Avoid excessively long variable names like messageDigestAlgorithm 3 383
MethodNamingConventions The static method name 'sha3_224' doesn't match '[a-z][a-zA-Z0-9]*' 1 699
MethodNamingConventions The static method name 'sha3_224' doesn't match '[a-z][a-zA-Z0-9]*' 1 711
MethodNamingConventions The static method name 'sha3_224' doesn't match '[a-z][a-zA-Z0-9]*' 1 722
MethodNamingConventions The static method name 'sha3_224Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1 733
MethodNamingConventions The static method name 'sha3_224Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1 745
MethodNamingConventions The static method name 'sha3_224Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1 756
MethodNamingConventions The static method name 'sha3_256' doesn't match '[a-z][a-zA-Z0-9]*' 1 767
MethodNamingConventions The static method name 'sha3_256' doesn't match '[a-z][a-zA-Z0-9]*' 1 779
MethodNamingConventions The static method name 'sha3_256' doesn't match '[a-z][a-zA-Z0-9]*' 1 790
MethodNamingConventions The static method name 'sha3_256Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1 801
MethodNamingConventions The static method name 'sha3_256Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1 813
MethodNamingConventions The static method name 'sha3_256Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1 824
MethodNamingConventions The static method name 'sha3_384' doesn't match '[a-z][a-zA-Z0-9]*' 1 835
MethodNamingConventions The static method name 'sha3_384' doesn't match '[a-z][a-zA-Z0-9]*' 1 847
MethodNamingConventions The static method name 'sha3_384' doesn't match '[a-z][a-zA-Z0-9]*' 1 858
MethodNamingConventions The static method name 'sha3_384Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1 869
MethodNamingConventions The static method name 'sha3_384Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1 881
MethodNamingConventions The static method name 'sha3_384Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1 892
MethodNamingConventions The static method name 'sha3_512' doesn't match '[a-z][a-zA-Z0-9]*' 1 903
MethodNamingConventions The static method name 'sha3_512' doesn't match '[a-z][a-zA-Z0-9]*' 1 915
MethodNamingConventions The static method name 'sha3_512' doesn't match '[a-z][a-zA-Z0-9]*' 1 926
MethodNamingConventions The static method name 'sha3_512Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1 937
MethodNamingConventions The static method name 'sha3_512Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1 949
MethodNamingConventions The static method name 'sha3_512Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1 960
MethodNamingConventions The static method name 'sha512_224' doesn't match '[a-z][a-zA-Z0-9]*' 1 1073
MethodNamingConventions The static method name 'sha512_224' doesn't match '[a-z][a-zA-Z0-9]*' 1 1085
MethodNamingConventions The static method name 'sha512_224' doesn't match '[a-z][a-zA-Z0-9]*' 1 1096
MethodNamingConventions The static method name 'sha512_224Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1 1107
MethodNamingConventions The static method name 'sha512_224Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1 1119
MethodNamingConventions The static method name 'sha512_224Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1 1130
MethodNamingConventions The static method name 'sha512_256' doesn't match '[a-z][a-zA-Z0-9]*' 1 1141
MethodNamingConventions The static method name 'sha512_256' doesn't match '[a-z][a-zA-Z0-9]*' 1 1153
MethodNamingConventions The static method name 'sha512_256' doesn't match '[a-z][a-zA-Z0-9]*' 1 1164
MethodNamingConventions The static method name 'sha512_256Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1 1175
MethodNamingConventions The static method name 'sha512_256Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1 1187
MethodNamingConventions The static method name 'sha512_256Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1 1198
MethodNamingConventions The static method name 'shake128_256' doesn't match '[a-z][a-zA-Z0-9]*' 1 1284
MethodNamingConventions The static method name 'shake128_256' doesn't match '[a-z][a-zA-Z0-9]*' 1 1296
MethodNamingConventions The static method name 'shake128_256' doesn't match '[a-z][a-zA-Z0-9]*' 1 1307
MethodNamingConventions The static method name 'shake128_256Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1 1318
MethodNamingConventions The static method name 'shake128_256Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1 1330
MethodNamingConventions The static method name 'shake128_256Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1 1341
MethodNamingConventions The static method name 'shake256_512' doesn't match '[a-z][a-zA-Z0-9]*' 1 1352
MethodNamingConventions The static method name 'shake256_512' doesn't match '[a-z][a-zA-Z0-9]*' 1 1364
MethodNamingConventions The static method name 'shake256_512' doesn't match '[a-z][a-zA-Z0-9]*' 1 1375
MethodNamingConventions The static method name 'shake256_512Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1 1386
MethodNamingConventions The static method name 'shake256_512Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1 1398
MethodNamingConventions The static method name 'shake256_512Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1 1409
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 1538

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 789
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 805
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 874

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

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

org/apache/commons/codec/digest/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
UnnecessaryCast Unnecessary cast (long) 3 50
UnnecessaryCast Unnecessary cast (long) 3 51
UnnecessaryCast Unnecessary cast (long) 3 52
UnnecessaryCast Unnecessary cast (long) 3 53
UnnecessaryCast Unnecessary cast (long) 3 54
UnnecessaryCast Unnecessary cast (long) 3 55
UnnecessaryCast Unnecessary cast (long) 3 56
UnnecessaryCast Unnecessary cast (long) 3 57

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

Rule Violation Priority Line
ShortVariable Avoid variables with short names like h 3 89
ShortVariable Avoid variables with short names like k 3 95
ShortVariable Avoid variables with short names like h 3 194
ShortVariable Avoid variables with short names like k 3 199
UnnecessaryCast Unnecessary cast (long) 3 211
UnnecessaryCast Unnecessary cast (long) 3 214
UnnecessaryCast Unnecessary cast (long) 3 217
UnnecessaryCast Unnecessary cast (long) 3 220
UnnecessaryCast Unnecessary cast (long) 3 223
UnnecessaryCast Unnecessary cast (long) 3 226
UnnecessaryCast Unnecessary cast (long) 3 229

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

Rule Violation Priority Line
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 3 86
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
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 3 177
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 322
UseUnderscoresInNumericLiterals Number 104729 should separate every third digit with an underscore 3 322
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 324
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 329
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 330
ShortVariable Avoid variables with short names like C1 3 332
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 332
ShortVariable Avoid variables with short names like C2 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 R1 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 R2 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 R3 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 M 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 N1 3 339
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 339
ShortVariable Avoid variables with short names like N2 3 341
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 341
ShortVariable Avoid variables with short names like h1 3 511
ShortVariable Avoid variables with short names like h2 3 512
ShortVariable Avoid variables with short names like k1 3 517
ShortVariable Avoid variables with short names like k2 3 518
ShortVariable Avoid variables with short names like k1 3 537
ShortVariable Avoid variables with short names like k2 3 538
UnnecessaryCast Unnecessary cast (long) 3 542
UnnecessaryCast Unnecessary cast (long) 3 545
UnnecessaryCast Unnecessary cast (long) 3 548
UnnecessaryCast Unnecessary cast (long) 3 551
UnnecessaryCast Unnecessary cast (long) 3 554
UnnecessaryCast Unnecessary cast (long) 3 557
UnnecessaryCast Unnecessary cast (long) 3 567
UnnecessaryCast Unnecessary cast (long) 3 570
UnnecessaryCast Unnecessary cast (long) 3 573
UnnecessaryCast Unnecessary cast (long) 3 576
UnnecessaryCast Unnecessary cast (long) 3 579
UnnecessaryCast Unnecessary cast (long) 3 582
UnnecessaryCast Unnecessary cast (long) 3 585
ShortVariable Avoid variables with short names like k 3 717
ShortVariable Avoid variables with short names like k1 3 723
ShortVariable Avoid variables with short names like r0 3 781
ShortVariable Avoid variables with short names like r0 3 832
ShortVariable Avoid variables with short names like r1 3 833
ShortVariable Avoid variables with short names like k 3 917
ShortVariable Avoid variables with short names like k1 3 922
ShortVariable Avoid variables with short names like k 3 1058
ShortVariable Avoid variables with short names like k1 3 1067
UnnecessaryCast Unnecessary cast (long) 3 1071
UnnecessaryCast Unnecessary cast (long) 3 1074
UnnecessaryCast Unnecessary cast (long) 3 1077
UnnecessaryCast Unnecessary cast (long) 3 1080
UnnecessaryCast Unnecessary cast (long) 3 1083
UnnecessaryCast Unnecessary cast (long) 3 1086
UnnecessaryCast Unnecessary cast (long) 3 1089
ShortVariable Avoid variables with short names like k1 3 1134
ShortVariable Avoid variables with short names like k 3 1180
ShortVariable Avoid variables with short names like k1 3 1228
UnnecessaryCast Unnecessary cast (long) 3 1229
UnnecessaryCast Unnecessary cast (long) 3 1230
ShortVariable Avoid variables with short names like k 3 1247

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 'SHA256_PREFIX' 3 62
CommentDefaultAccessModifier Missing commented default access modifier on field 'SHA512_PREFIX' 3 68
PrematureDeclaration Declaration of 'keyLen' can be moved closer to its usages 3 156
PrematureDeclaration Declaration of 'rounds' can be moved closer to its usages 3 159
PrematureDeclaration Declaration of 'roundsCustom' can be moved closer to its usages 3 160
ShortVariable Avoid variables with short names like m 3 165
ConfusingTernary Avoid if (x != y) ..; else ..; 3 268272
ShortVariable Avoid variables with short names like cp 3 316
ConfusingTernary Avoid if (x != y) ..; else ..; 3 388392
ConfusingTernary Avoid if (x != y) ..; else ..; 3 415419
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 3 597

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
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 3 417

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

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

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

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

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

Rule Violation Priority Line
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 3 41
CallSuperInConstructor It is a good practice to call super() in a constructor 3 41
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 56

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

Rule Violation Priority Line
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 3 41
CallSuperInConstructor It is a good practice to call super() in a constructor 3 41
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 56

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

Rule Violation Priority Line
CommentDefaultAccessModifier Missing commented default access modifier on nested class 'CologneBuffer' 3 190
CommentDefaultAccessModifier Missing commented default access modifier on constructor 'CologneBuffer(char[])' 3 196
CommentDefaultAccessModifier Missing commented default access modifier on constructor 'CologneBuffer(int)' 3 201
CommentDefaultAccessModifier Missing commented default access modifier on constructor 'CologneInputBuffer(char[])' 3 224
ShortVariable Avoid variables with short names like ch 3 244
CommentDefaultAccessModifier Missing commented default access modifier on constructor 'CologneOutputBuffer(int)' 3 254
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 281
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 282
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 283
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 284
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
ShortVariable Avoid variables with short names like SZ 3 288
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 288
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 290
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 292
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 294
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 302
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 3 311
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 328
ConfusingTernary Avoid if (x != y) ..; else ..; 3 342346

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

Rule Violation Priority Line
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 99
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 102
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 402
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 446
ShortVariable Avoid variables with short names like ch 3 453

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
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 3 225
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 636641
ShortVariable Avoid variables with short names like ch 3 1043

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

Rule Violation Priority Line
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 3 69
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 129
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 137
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 146
CommentDefaultAccessModifier Missing commented default access modifier on method 'getFirst3Last3(String)' 3 167
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 173
CommentDefaultAccessModifier Missing commented default access modifier on method 'getMinRating(int)' 3 191
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 222
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 225
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 228
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 231
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 255
CommentDefaultAccessModifier Missing commented default access modifier on method 'isVowel(String)' 3 285
CommentDefaultAccessModifier Missing commented default access modifier on method 'leftToRightThenRightToLeftProcessing(String, String)' 3 303
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 346
CommentDefaultAccessModifier Missing commented default access modifier on method 'removeAccents(String)' 3 359
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 361
ShortVariable Avoid variables with short names like sb 3 364
ShortVariable Avoid variables with short names like n 3 365
ShortVariable Avoid variables with short names like c 3 368
CommentDefaultAccessModifier Missing commented default access modifier on method 'removeDoubleConsonants(String)' 3 392
CommentDefaultAccessModifier Missing commented default access modifier on method 'removeVowels(String)' 3 415
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 429

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

Rule Violation Priority Line
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 3 82
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
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 51
LongVariable Avoid excessively long variable names like US_ENGLISH_MAPPING 3 58
ShortVariable Avoid variables with short names like s1 3 128
ShortVariable Avoid variables with short names like s2 3 128
CommentDefaultAccessModifier Missing commented default access modifier on method 'getMappingCode(char)' 3 174
ShortVariable Avoid variables with short names like c 3 174
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 180
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 194
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 198

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

Rule Violation Priority Line
LongVariable Avoid excessively long variable names like US_ENGLISH_MAPPING_STRING 3 61
LongVariable Avoid excessively long variable names like US_ENGLISH_MAPPING 3 69
LongVariable Avoid excessively long variable names like US_ENGLISH_SIMPLIFIED 3 93
LongVariable Avoid excessively long variable names like US_ENGLISH_GENEALOGY 3 110
ShortVariable Avoid variables with short names like s1 3 210
ShortVariable Avoid variables with short names like s2 3 210
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 257
ShortVariable Avoid variables with short names like ch 3 272
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 301
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 305
ShortVariable Avoid variables with short names like ch 3 313

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

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

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

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

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
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 3 86
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 313
ShortVariable Avoid variables with short names like ls 3 315
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 339

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

Rule Violation Priority Line
CommentDefaultAccessModifier Missing commented default access modifier on nested class 'PhonemeBuilder' 3 65
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 79
ShortVariable Avoid variables with short names like i 3 169
CommentDefaultAccessModifier Missing commented default access modifier on constructor 'RulesApplication(Map<String, List<Rule>>, CharSequence, PhonemeBuilder, int, int)' 3 173
ShortVariable Avoid variables with short names like i 3 173
LongVariable Avoid excessively long variable names like DEFAULT_MAX_PHONEMES 3 227
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 229
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 258
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 260
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 264
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 266
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 318
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 394
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 402
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 441

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

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

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 541589
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 55
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 125
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 155
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 163
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 180

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

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

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

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

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

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

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

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

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

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

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

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

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)