Apache Commons logo Apache Commons Codec

PMD Results

The following document contains the results of PMD 6.55.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]*' 270
org/apache/commons/codec/binary/BinaryCodec.java
Rule Violation Line
LocalVariableNamingConventions The final local variable name 'l_ascii' doesn't match '[a-z][a-zA-Z0-9]*' 154
LocalVariableNamingConventions The final local variable name 'l_ascii' doesn't match '[a-z][a-zA-Z0-9]*' 185
org/apache/commons/codec/binary/StringUtils.java
Rule Violation Line
MethodNamingConventions The static method name 'getBytesIso8859_1' doesn't match '[a-z][a-zA-Z0-9]*' 144146
MethodNamingConventions The static method name 'newStringIso8859_1' doesn't match '[a-z][a-zA-Z0-9]*' 331333
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]*' 250252
MethodNamingConventions The static method name 'getSha3_256Digest' doesn't match '[a-z][a-zA-Z0-9]*' 262264
MethodNamingConventions The static method name 'getSha3_384Digest' doesn't match '[a-z][a-zA-Z0-9]*' 274276
MethodNamingConventions The static method name 'getSha3_512Digest' doesn't match '[a-z][a-zA-Z0-9]*' 286288
MethodNamingConventions The static method name 'getSha512_224Digest' doesn't match '[a-z][a-zA-Z0-9]*' 308310
MethodNamingConventions The static method name 'getSha512_256Digest' doesn't match '[a-z][a-zA-Z0-9]*' 319321
MethodNamingConventions The static method name 'sha3_224' doesn't match '[a-z][a-zA-Z0-9]*' 669671
MethodNamingConventions The static method name 'sha3_224' doesn't match '[a-z][a-zA-Z0-9]*' 681683
MethodNamingConventions The static method name 'sha3_224' doesn't match '[a-z][a-zA-Z0-9]*' 692694
MethodNamingConventions The static method name 'sha3_224Hex' doesn't match '[a-z][a-zA-Z0-9]*' 703705
MethodNamingConventions The static method name 'sha3_224Hex' doesn't match '[a-z][a-zA-Z0-9]*' 715717
MethodNamingConventions The static method name 'sha3_224Hex' doesn't match '[a-z][a-zA-Z0-9]*' 726728
MethodNamingConventions The static method name 'sha3_256' doesn't match '[a-z][a-zA-Z0-9]*' 737739
MethodNamingConventions The static method name 'sha3_256' doesn't match '[a-z][a-zA-Z0-9]*' 749751
MethodNamingConventions The static method name 'sha3_256' doesn't match '[a-z][a-zA-Z0-9]*' 760762
MethodNamingConventions The static method name 'sha3_256Hex' doesn't match '[a-z][a-zA-Z0-9]*' 771773
MethodNamingConventions The static method name 'sha3_256Hex' doesn't match '[a-z][a-zA-Z0-9]*' 783785
MethodNamingConventions The static method name 'sha3_256Hex' doesn't match '[a-z][a-zA-Z0-9]*' 794796
MethodNamingConventions The static method name 'sha3_384' doesn't match '[a-z][a-zA-Z0-9]*' 805807
MethodNamingConventions The static method name 'sha3_384' doesn't match '[a-z][a-zA-Z0-9]*' 817819
MethodNamingConventions The static method name 'sha3_384' doesn't match '[a-z][a-zA-Z0-9]*' 828830
MethodNamingConventions The static method name 'sha3_384Hex' doesn't match '[a-z][a-zA-Z0-9]*' 839841
MethodNamingConventions The static method name 'sha3_384Hex' doesn't match '[a-z][a-zA-Z0-9]*' 851853
MethodNamingConventions The static method name 'sha3_384Hex' doesn't match '[a-z][a-zA-Z0-9]*' 862864
MethodNamingConventions The static method name 'sha3_512' doesn't match '[a-z][a-zA-Z0-9]*' 873875
MethodNamingConventions The static method name 'sha3_512' doesn't match '[a-z][a-zA-Z0-9]*' 885887
MethodNamingConventions The static method name 'sha3_512' doesn't match '[a-z][a-zA-Z0-9]*' 896898
MethodNamingConventions The static method name 'sha3_512Hex' doesn't match '[a-z][a-zA-Z0-9]*' 907909
MethodNamingConventions The static method name 'sha3_512Hex' doesn't match '[a-z][a-zA-Z0-9]*' 919921
MethodNamingConventions The static method name 'sha3_512Hex' doesn't match '[a-z][a-zA-Z0-9]*' 930932
MethodNamingConventions The static method name 'sha512_224' doesn't match '[a-z][a-zA-Z0-9]*' 10431045
MethodNamingConventions The static method name 'sha512_224' doesn't match '[a-z][a-zA-Z0-9]*' 10551057
MethodNamingConventions The static method name 'sha512_224' doesn't match '[a-z][a-zA-Z0-9]*' 10661068
MethodNamingConventions The static method name 'sha512_224Hex' doesn't match '[a-z][a-zA-Z0-9]*' 10771079
MethodNamingConventions The static method name 'sha512_224Hex' doesn't match '[a-z][a-zA-Z0-9]*' 10891091
MethodNamingConventions The static method name 'sha512_224Hex' doesn't match '[a-z][a-zA-Z0-9]*' 11001102
MethodNamingConventions The static method name 'sha512_256' doesn't match '[a-z][a-zA-Z0-9]*' 11111113
MethodNamingConventions The static method name 'sha512_256' doesn't match '[a-z][a-zA-Z0-9]*' 11231125
MethodNamingConventions The static method name 'sha512_256' doesn't match '[a-z][a-zA-Z0-9]*' 11341136
MethodNamingConventions The static method name 'sha512_256Hex' doesn't match '[a-z][a-zA-Z0-9]*' 11451147
MethodNamingConventions The static method name 'sha512_256Hex' doesn't match '[a-z][a-zA-Z0-9]*' 11571159
MethodNamingConventions The static method name 'sha512_256Hex' doesn't match '[a-z][a-zA-Z0-9]*' 11681170

Priority 3

org/apache/commons/codec/CharEncoding.java
Rule Violation Line
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 128130
org/apache/commons/codec/Charsets.java
Rule Violation Line
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 169171
org/apache/commons/codec/DecoderException.java
Rule Violation Line
CallSuperInConstructor It is a good practice to call super() in a constructor 3940
org/apache/commons/codec/EncoderException.java
Rule Violation Line
CallSuperInConstructor It is a good practice to call super() in a constructor 4041
org/apache/commons/codec/Resources.java
Rule Violation Line
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 4951
org/apache/commons/codec/StringEncoderComparator.java
Rule Violation Line
ShortVariable Avoid variables with short names like o1 73
ShortVariable Avoid variables with short names like o2 73
ShortVariable Avoid variables with short names like s1 80
ShortVariable Avoid variables with short names like s2 81
org/apache/commons/codec/binary/Base16.java
Rule Violation Line
LongVariable Avoid excessively long variable names like BITS_PER_ENCODED_BYTE 46
LongVariable Avoid excessively long variable names like BYTES_PER_ENCODED_BLOCK 47
LongVariable Avoid excessively long variable names like BYTES_PER_UNENCODED_BLOCK 48
LongVariable Avoid excessively long variable names like UPPER_CASE_DECODE_TABLE 55
LongVariable Avoid excessively long variable names like UPPER_CASE_ENCODE_TABLE 70
LongVariable Avoid excessively long variable names like LOWER_CASE_DECODE_TABLE 81
LongVariable Avoid excessively long variable names like LOWER_CASE_ENCODE_TABLE 97
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the decode method if you want a default access modifier 150199
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 156
ConfusingTernary Avoid if (x != y) ..; else ..; 160
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the encode method if you want a default access modifier 215240
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 217
org/apache/commons/codec/binary/Base32.java
Rule Violation Line
LongVariable Avoid excessively long variable names like BITS_PER_ENCODED_BYTE 50
LongVariable Avoid excessively long variable names like BYTES_PER_ENCODED_BLOCK 51
LongVariable Avoid excessively long variable names like BYTES_PER_UNENCODED_BLOCK 52
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the decode method if you want a default access modifier 348441
ShortVariable Avoid variables with short names like b 358
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the encode method if you want a default access modifier 455549
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 459
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 469
ShortVariable Avoid variables with short names like b 526
org/apache/commons/codec/binary/Base64.java
Rule Violation Line
LongVariable Avoid excessively long variable names like BITS_PER_ENCODED_BYTE 63
LongVariable Avoid excessively long variable names like BYTES_PER_UNENCODED_BLOCK 64
LongVariable Avoid excessively long variable names like BYTES_PER_ENCODED_BLOCK 65
LongVariable Avoid excessively long variable names like STANDARD_ENCODE_TABLE 75
LongVariable Avoid excessively long variable names like URL_SAFE_ENCODE_TABLE 88
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 242
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 366
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the toIntegerBytes method if you want a default access modifier 393415
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 400
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 422
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 425
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 430
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 436
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 442
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the decode method if you want a default access modifier 643700
ShortVariable Avoid variables with short names like b 652
ShortVariable Avoid variables with short names like in 724
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the encode method if you want a default access modifier 724793
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 726
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 736
ShortVariable Avoid variables with short names like b 774
org/apache/commons/codec/binary/BaseNCodec.java
Rule Violation Line
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the Context nested class if you want a default access modifier 61120
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the ibitWorkArea field if you want a default access modifier 67
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the lbitWorkArea field if you want a default access modifier 73
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the buffer field if you want a default access modifier 78
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the pos field if you want a default access modifier 83
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the readPos field if you want a default access modifier 88
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the eof field if you want a default access modifier 94
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the currentLinePos field if you want a default access modifier 100
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the modulus field if you want a default access modifier 106
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 127
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the EOF field if you want a default access modifier 127
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 139
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 151
LongVariable Avoid excessively long variable names like DEFAULT_BUFFER_RESIZE_FACTOR 153
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 153
LongVariable Avoid excessively long variable names like DEFAULT_BUFFER_SIZE 159
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 159
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 171
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 174
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 179
LongVariable Avoid excessively long variable names like DECODING_POLICY_DEFAULT 185
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 185
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 192
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the CHUNK_SEPARATOR field if you want a default access modifier 192
ShortVariable Avoid variables with short names like b 261
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. 273
LongVariable Avoid excessively long variable names like unencodedBlockSize 276
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 276
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 279
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 286
LongVariable Avoid excessively long variable names like chunkSeparatorLength 291
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 291
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 312
LongVariable Avoid excessively long variable names like unencodedBlockSize 323
LongVariable Avoid excessively long variable names like chunkSeparatorLength 324
LongVariable Avoid excessively long variable names like unencodedBlockSize 338
LongVariable Avoid excessively long variable names like chunkSeparatorLength 339
LongVariable Avoid excessively long variable names like unencodedBlockSize 355
LongVariable Avoid excessively long variable names like chunkSeparatorLength 356
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the available method if you want a default access modifier 373375
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 388
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 392
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 408
ShortVariable Avoid variables with short names like i 419
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the decode method if you want a default access modifier 419
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 435
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 464
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 484
ShortVariable Avoid variables with short names like i 495
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the encode method if you want a default access modifier 495
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 556
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the hasData method if you want a default access modifier 611613
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 639
ShortVariable Avoid variables with short names like b 691
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the readResults method if you want a default access modifier 691706
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 703
org/apache/commons/codec/binary/BaseNCodecInputStream.java
Rule Violation Line
ShortVariable Avoid variables with short names like r 127
ShortVariable Avoid variables with short names like b 132
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 133
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 167
ShortVariable Avoid variables with short names like c 191
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 201
ConfusingTernary Avoid if (x != y) ..; else ..; 201
ShortVariable Avoid variables with short names like n 228
ShortVariable Avoid variables with short names like b 234
org/apache/commons/codec/binary/BaseNCodecOutputStream.java
Rule Violation Line
ShortVariable Avoid variables with short names like c 120
ShortVariable Avoid variables with short names like i 192
org/apache/commons/codec/binary/BinaryCodec.java
Rule Violation Line
AtLeastOneConstructor Each class should declare at least one constructor 35299
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 81
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 109
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the isEmpty method if you want a default access modifier 135137
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 150
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 181
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 240
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 243
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 246
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 295
org/apache/commons/codec/binary/CharSequenceUtils.java
Rule Violation Line
ShortVariable Avoid variables with short names like cs 54
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the regionMatches method if you want a default access modifier 5483
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 57
ShortVariable Avoid variables with short names like c1 64
ShortVariable Avoid variables with short names like c2 65
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 72
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 78
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 107
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 349
ShortVariable Avoid variables with short names like ch 366
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 374
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 453
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 456
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 459
org/apache/commons/codec/binary/StringUtils.java
Rule Violation Line
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 72
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 75
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 78
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 94
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 169
ShortVariable Avoid variables with short names like e 269
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 310
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 421423
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. 55
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 56
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 58
LongVariable Avoid excessively long variable names like messageDigestAlgorithm 134
LongVariable Avoid excessively long variable names like messageDigestAlgorithm 139
org/apache/commons/codec/digest/B64.java
Rule Violation Line
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the B64T_STRING field if you want a default access modifier 36
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the B64T_ARRAY field if you want a default access modifier 41
ShortVariable Avoid variables with short names like b0 57
ShortVariable Avoid variables with short names like b1 57
ShortVariable Avoid variables with short names like b2 57
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the b64from24bit method if you want a default access modifier 5767
ShortVariable Avoid variables with short names like w 60
ShortVariable Avoid variables with short names like n 62
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the getRandomSalt method if you want a default access modifier 7880
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the getRandomSalt method if you want a default access modifier 9298
org/apache/commons/codec/digest/Blake3.java
Rule Violation Line
ShortVariable Avoid variables with short names like in 165
LongVariable Avoid excessively long variable names like parentNodesRemaining 190
ShortVariable Avoid variables with short names like cv 202
LongVariable Avoid excessively long variable names like inputChainingValue 217
LongVariable Avoid excessively long variable names like inputChainingValue 224
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. 260
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 262
LongVariable Avoid excessively long variable names like CHAINING_VALUE_INTS 263
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 263
ShortVariable Avoid variables with short names like IV 267
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 267268
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
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 275
LongVariable Avoid excessively long variable names like DERIVE_KEY_CONTEXT 277
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 DERIVE_KEY_MATERIAL 279
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 279
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 284292
ShortMethodName Avoid using short method names 332342
ShortVariable Avoid variables with short names like a 333
ShortVariable Avoid variables with short names like b 333
ShortVariable Avoid variables with short names like c 333
ShortVariable Avoid variables with short names like d 333
ShortVariable Avoid variables with short names like mx 333
ShortVariable Avoid variables with short names like my 333
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 455
ShortVariable Avoid variables with short names like in 523
ShortVariable Avoid variables with short names like in 538
org/apache/commons/codec/digest/Crypt.java
Rule Violation Line
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 75
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 78
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 81
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 84
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 180182
org/apache/commons/codec/digest/DigestUtils.java
Rule Violation Line
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the BUFFER_SIZE field if you want a default access modifier 63
LongVariable Avoid excessively long variable names like defaultMessageDigest 174
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 176
LongVariable Avoid excessively long variable names like messageDigestAlgorithm 353
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'inputStream': resource specifications are implicitly final 1280
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'inputStream': resource specifications are implicitly final 1338
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 1373
org/apache/commons/codec/digest/HmacUtils.java
Rule Violation Line
LongVariable Avoid excessively long variable names like STREAM_BUFFER_LENGTH 60
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 790
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 806
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 875
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'stream': resource specifications are implicitly final 976
org/apache/commons/codec/digest/Md5Crypt.java
Rule Violation Line
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the APR1_PREFIX field if you want a default access modifier 55
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the MD5_PREFIX field if you want a default access modifier 61
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 276
ShortVariable Avoid variables with short names like p 283
ShortVariable Avoid variables with short names like m 284
ShortVariable Avoid variables with short names like ii 317
ShortVariable Avoid variables with short names like j 332
ConfusingTernary Avoid if (x != y) ..; else ..; 354358
ConfusingTernary Avoid if (x != y) ..; else ..; 368372
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 405407
org/apache/commons/codec/digest/MurmurHash2.java
Rule Violation Line
ShortVariable Avoid variables with short names like h 121
ShortVariable Avoid variables with short names like k 129
ShortVariable Avoid variables with short names like h 229
ShortVariable Avoid variables with short names like k 236
org/apache/commons/codec/digest/MurmurHash3.java
Rule Violation Line
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the finalise method if you want a default access modifier 87111
ShortVariable Avoid variables with short names like k1 92
ShortVariable Avoid variables with short names like b1 139
ShortVariable Avoid variables with short names like b2 139
ShortVariable Avoid variables with short names like b3 139
ShortVariable Avoid variables with short names like b4 139
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 144
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 147
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 150
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 156
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 168
ShortVariable Avoid variables with short names like k 195
ShortVariable Avoid variables with short names like k 224
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the finalise method if you want a default access modifier 257278
ShortVariable Avoid variables with short names like k1 259
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 298
UseUnderscoresInNumericLiterals Number 2862933555777941757L should separate every third digit with an underscore 298
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 303
UseUnderscoresInNumericLiterals Number 104729 should separate every third digit with an underscore 303
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 305
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 306
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 307
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 308
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 310
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 311
ShortVariable Avoid variables with short names like C1 313
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 313
ShortVariable Avoid variables with short names like C2 314
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 314
ShortVariable Avoid variables with short names like R1 315
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 315
ShortVariable Avoid variables with short names like R2 316
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 316
ShortVariable Avoid variables with short names like R3 317
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 317
ShortVariable Avoid variables with short names like M 318
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 318
ShortVariable Avoid variables with short names like N1 320
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 320
ShortVariable Avoid variables with short names like N2 322
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 322
ShortVariable Avoid variables with short names like h1 516
ShortVariable Avoid variables with short names like h2 517
ShortVariable Avoid variables with short names like k1 523
ShortVariable Avoid variables with short names like k2 524
ShortVariable Avoid variables with short names like k1 546
ShortVariable Avoid variables with short names like k2 547
ShortVariable Avoid variables with short names like k 706
ShortVariable Avoid variables with short names like k1 715
ShortVariable Avoid variables with short names like r0 773
ShortVariable Avoid variables with short names like r0 824
ShortVariable Avoid variables with short names like r1 825
ShortVariable Avoid variables with short names like k 906
ShortVariable Avoid variables with short names like k1 912
ShortVariable Avoid variables with short names like k 1036
ShortVariable Avoid variables with short names like k1 1047
ShortVariable Avoid variables with short names like k1 1106
ShortVariable Avoid variables with short names like k 1149
ShortVariable Avoid variables with short names like k1 1193
ShortVariable Avoid variables with short names like k 1213
org/apache/commons/codec/digest/PureJavaCrc32.java
Rule Violation Line
ShortVariable Avoid variables with short names like T 52
ShortVariable Avoid variables with short names like b 599
ShortVariable Avoid variables with short names like i 603
ShortVariable Avoid variables with short names like x 605
ShortVariable Avoid variables with short names like b 640
org/apache/commons/codec/digest/PureJavaCrc32C.java
Rule Violation Line
ShortVariable Avoid variables with short names like T 55
ShortVariable Avoid variables with short names like b 599
ShortVariable Avoid variables with short names like c0 603
ShortVariable Avoid variables with short names like c1 604
ShortVariable Avoid variables with short names like c2 605
ShortVariable Avoid variables with short names like c3 606
ShortVariable Avoid variables with short names like c4 609
ShortVariable Avoid variables with short names like c5 610
ShortVariable Avoid variables with short names like c6 611
ShortVariable Avoid variables with short names like c7 612
ShortVariable Avoid variables with short names like b 645
org/apache/commons/codec/digest/Sha2Crypt.java
Rule Violation Line
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the SHA256_PREFIX field if you want a default access modifier 62
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the SHA512_PREFIX field if you want a default access modifier 68
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 173
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 176
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 177
ShortVariable Avoid variables with short names like m 182
ConfusingTernary Avoid if (x != y) ..; else ..; 285289
ShortVariable Avoid variables with short names like cp 333
ConfusingTernary Avoid if (x != y) ..; else ..; 405409
ConfusingTernary Avoid if (x != y) ..; else ..; 432436
org/apache/commons/codec/digest/UnixCrypt.java
Rule Violation Line
LongVariable Avoid excessively long variable names like CRYPT_SALT_PATTERN 47
UseUnderscoresInNumericLiterals Number 10240 should separate every third digit with an underscore 119
UseUnderscoresInNumericLiterals Number 10242 should separate every third digit with an underscore 120
UseUnderscoresInNumericLiterals Number 10272 should separate every third digit with an underscore 121
UseUnderscoresInNumericLiterals Number 10274 should separate every third digit with an underscore 121
UseUnderscoresInNumericLiterals Number 16384 should separate every third digit with an underscore 153
UseUnderscoresInNumericLiterals Number 16384 should separate every third digit with an underscore 153
UseUnderscoresInNumericLiterals Number 16640 should separate every third digit with an underscore 153
UseUnderscoresInNumericLiterals Number 16648 should separate every third digit with an underscore 153
UseUnderscoresInNumericLiterals Number 16392 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 16392 should separate every third digit with an underscore 155
UseUnderscoresInNumericLiterals Number 16384 should separate every third digit with an underscore 156
UseUnderscoresInNumericLiterals Number 16640 should separate every third digit with an underscore 156
UseUnderscoresInNumericLiterals Number 16648 should separate every third digit with an underscore 156
UseUnderscoresInNumericLiterals Number 16384 should separate every third digit with an underscore 157
UseUnderscoresInNumericLiterals Number 16392 should separate every third digit with an underscore 157
UseUnderscoresInNumericLiterals Number 16640 should separate every third digit with an underscore 157
UseUnderscoresInNumericLiterals Number 16648 should separate every third digit with an underscore 158
UseUnderscoresInNumericLiterals Number 32800 should separate every third digit with an underscore 171
UseUnderscoresInNumericLiterals Number 32768 should separate every third digit with an underscore 172
UseUnderscoresInNumericLiterals Number 32800 should separate every third digit with an underscore 172
UseUnderscoresInNumericLiterals Number 32768 should separate every third digit with an underscore 173
UseUnderscoresInNumericLiterals Number 32768 should separate every third digit with an underscore 174
UseUnderscoresInNumericLiterals Number 32800 should separate every third digit with an underscore 174
UseUnderscoresInNumericLiterals Number 32800 should separate every third digit with an underscore 176
UseUnderscoresInNumericLiterals Number 32768 should separate every third digit with an underscore 177
ShortVariable Avoid variables with short names like t 182
UseUnderscoresInNumericLiterals Number 65535 should separate every third digit with an underscore 206
ShortVariable Avoid variables with short names like b 218
ShortVariable Avoid variables with short names like b 279
ShortVariable Avoid variables with short names like i 283
ShortVariable Avoid variables with short names like y 284
ShortVariable Avoid variables with short names like u 285
ShortVariable Avoid variables with short names like j 287
ShortVariable Avoid variables with short names like c 288
ShortVariable Avoid variables with short names like e0 335
ShortVariable Avoid variables with short names like e1 335
ShortVariable Avoid variables with short names like el 335
ShortVariable Avoid variables with short names like r 335
ShortVariable Avoid variables with short names like s 335
ShortVariable Avoid variables with short names like v 336
ShortVariable Avoid variables with short names like u 337
ShortVariable Avoid variables with short names like t 340
ShortVariable Avoid variables with short names like c 350
ShortVariable Avoid variables with short names like d 351
ShortVariable Avoid variables with short names like j 369
ShortVariable Avoid variables with short names like s 380
ShortVariable Avoid variables with short names like t 383
ShortVariable Avoid variables with short names like b 394
ShortVariable Avoid variables with short names like a 402
ShortVariable Avoid variables with short names like m 402
ShortVariable Avoid variables with short names like n 402
ShortVariable Avoid variables with short names like t 403
ShortVariable Avoid variables with short names like b 407
ShortVariable Avoid variables with short names like a 414
ShortVariable Avoid variables with short names like b 414
ShortVariable Avoid variables with short names like m 414
ShortVariable Avoid variables with short names like n 414
ShortVariable Avoid variables with short names like t 415
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 428430
org/apache/commons/codec/digest/XXHash32.java
Rule Violation Line
UseUnderscoresInNumericLiterals Number 2654435761L should separate every third digit with an underscore 43
UseUnderscoresInNumericLiterals Number 2246822519L should separate every third digit with an underscore 44
UseUnderscoresInNumericLiterals Number 3266489917L should separate every third digit with an underscore 45
UseUnderscoresInNumericLiterals Number 668265263 should separate every third digit with an underscore 46
UseUnderscoresInNumericLiterals Number 374761393 should separate every third digit with an underscore 47
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 62
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 63
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 66
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 68
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 69
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 71
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 74
ShortVariable Avoid variables with short names like b 132
ShortVariable Avoid variables with short names like s0 134
ShortVariable Avoid variables with short names like s1 135
ShortVariable Avoid variables with short names like s2 136
ShortVariable Avoid variables with short names like s3 137
ShortVariable Avoid variables with short names like b 161
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 163
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 167
ShortVariable Avoid variables with short names like b 202
org/apache/commons/codec/language/AbstractCaverphone.java
Rule Violation Line
AtLeastOneConstructor Each class should declare at least one constructor 3472
org/apache/commons/codec/language/Caverphone.java
Rule Violation Line
AtLeastOneConstructor Each class should declare at least one constructor 3597
org/apache/commons/codec/language/Caverphone1.java
Rule Violation Line
AtLeastOneConstructor Each class should declare at least one constructor 32126
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 47
org/apache/commons/codec/language/Caverphone2.java
Rule Violation Line
AtLeastOneConstructor Each class should declare at least one constructor 32130
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 47
org/apache/commons/codec/language/ColognePhonetic.java
Rule Violation Line
AtLeastOneConstructor Each class should declare at least one constructor 183457
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the CologneBuffer nested class if you want a default access modifier 190220
ShortVariable Avoid variables with short names like ch 243
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 279
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 280
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 281
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 282
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 283
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 284
ShortVariable Avoid variables with short names like SZ 286
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 286
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 288
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 290
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 292
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 300
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 319
ConfusingTernary Avoid if (x != y) ..; else ..; 333337
org/apache/commons/codec/language/DaitchMokotoffSoundex.java
Rule Violation Line
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 101
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 104
LongVariable Avoid excessively long variable names like replacementAtStart 162
LongVariable Avoid excessively long variable names like replacementBeforeVowel 163
LongVariable Avoid excessively long variable names like replacementDefault 164
LongVariable Avoid excessively long variable names like replacementAtStart 166
LongVariable Avoid excessively long variable names like replacementBeforeVowel 166
LongVariable Avoid excessively long variable names like replacementDefault 167
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 180
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 186
ShortVariable Avoid variables with short names like ch 192
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 207
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 209
LongVariable Avoid excessively long variable names like MULTILINE_COMMENT_END 211
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 211
LongVariable Avoid excessively long variable names like MULTILINE_COMMENT_START 213
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 213
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 216
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 219
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 222
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 225
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'scanner': resource specifications are implicitly final 228
LongVariable Avoid excessively long variable names like inMultilineComment 239
ShortVariable Avoid variables with short names like r 298
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 324
ShortVariable Avoid variables with short names like sb 358
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 415
ShortVariable Avoid variables with short names like sb 445
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 468
ShortVariable Avoid variables with short names like ch 478
org/apache/commons/codec/language/DoubleMetaphone.java
Rule Violation Line
AtLeastOneConstructor Each class should declare at least one constructor 37992
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 119
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 123124
LongVariable Avoid excessively long variable names like L_R_N_M_B_H_F_V_W_SPACE 125
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 125126
LongVariable Avoid excessively long variable names like ES_EP_EB_EL_EY_IB_IL_IN_IE_EI_ER 127
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 127128
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 130131
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 156
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 165
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 175
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 179
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 189
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 192
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 195
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 198
ShortVariable Avoid variables with short names like c 200
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 210
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 214
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 236
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 250
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 276
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 449
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 507
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 512
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 517
ConfusingTernary Avoid if (x != y) ..; else ..; 565570
ShortVariable Avoid variables with short names like ch 979
org/apache/commons/codec/language/MatchRatingApproachEncoder.java
Rule Violation Line
AtLeastOneConstructor Each class should declare at least one constructor 33425
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the cleanName method if you want a default access modifier 7888
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 121
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 129
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 138
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the getFirst3Last3 method if you want a default access modifier 159168
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 165
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the getMinRating method if you want a default access modifier 183199
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 214
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 217
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 220
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 223
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 247
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the isVowel method if you want a default access modifier 277280
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the leftToRightThenRightToLeftProcessing method if you want a default access modifier 295341
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 338
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the removeAccents method if you want a default access modifier 351370
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 353
ShortVariable Avoid variables with short names like sb 356
ShortVariable Avoid variables with short names like n 357
ShortVariable Avoid variables with short names like c 360
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the removeDoubleConsonants method if you want a default access modifier 384393
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the removeVowels method if you want a default access modifier 407424
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 421
org/apache/commons/codec/language/Metaphone.java
Rule Violation Line
AtLeastOneConstructor Each class should declare at least one constructor 55397
ShortVariable Avoid variables with short names like n 114
ShortVariable Avoid variables with short names like c 130
ShortVariable Avoid variables with short names like c 138
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 161
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 164
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 168
ShortVariable Avoid variables with short names like n 214
org/apache/commons/codec/language/Nysiis.java
Rule Violation Line
ShortVariable Avoid variables with short names like c 102
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 123
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 128
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 136
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 138
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 140
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 143
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 145
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 152
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 157
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 162
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 167
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 174
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 252
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 259
org/apache/commons/codec/language/RefinedSoundex.java
Rule Violation Line
LongVariable Avoid excessively long variable names like US_ENGLISH_MAPPING_STRING 49
LongVariable Avoid excessively long variable names like US_ENGLISH_MAPPING 56
ShortVariable Avoid variables with short names like s1 126
ShortVariable Avoid variables with short names like s2 126
ShortVariable Avoid variables with short names like c 172
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the getMappingCode method if you want a default access modifier 172181
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 174
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 178
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 192
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 196
org/apache/commons/codec/language/Soundex.java
Rule Violation Line
LongVariable Avoid excessively long variable names like US_ENGLISH_MAPPING_STRING 61
LongVariable Avoid excessively long variable names like US_ENGLISH_MAPPING 69
LongVariable Avoid excessively long variable names like US_ENGLISH_SIMPLIFIED 93
LongVariable Avoid excessively long variable names like US_ENGLISH_GENEALOGY 110
ShortVariable Avoid variables with short names like s1 216
ShortVariable Avoid variables with short names like s2 216
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 269
ShortVariable Avoid variables with short names like ch 284
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 315
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 319
ShortVariable Avoid variables with short names like ch 327
org/apache/commons/codec/language/SoundexUtils.java
Rule Violation Line
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the clean method if you want a default access modifier 4056
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 42
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 53
ShortVariable Avoid variables with short names like s1 84
ShortVariable Avoid variables with short names like s2 84
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the difference method if you want a default access modifier 8486
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the differenceEncoded method if you want a default access modifier 108121
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 111
ShortVariable Avoid variables with short names like cs 137
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the isEmpty method if you want a default access modifier 137139
org/apache/commons/codec/language/bm/BeiderMorseEncoder.java
Rule Violation Line
AtLeastOneConstructor Each class should declare at least one constructor 82187
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 100
org/apache/commons/codec/language/bm/Lang.java
Rule Violation Line
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 102
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 104
LongVariable Avoid excessively long variable names like languageRulesResourceName 136
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'scanner': resource specifications are implicitly final 138139
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 184
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 186
ShortVariable Avoid variables with short names like ls 201
ShortVariable Avoid variables with short names like ls 226
org/apache/commons/codec/language/bm/Languages.java
Rule Violation Line
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the merge method if you want a default access modifier 85
CallSuperInConstructor It is a good practice to call super() in a constructor 9698
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 127
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 130
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 141
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 144
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 157
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 159
LongVariable Avoid excessively long variable names like languagesResourceName 251
ShortVariable Avoid variables with short names like ls 253
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'lsScanner': resource specifications are implicitly final 254255
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 277
org/apache/commons/codec/language/bm/PhoneticEngine.java
Rule Violation Line
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the PhonemeBuilder nested class if you want a default access modifier 64149
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 78
ShortVariable Avoid variables with short names like i 168
ShortVariable Avoid variables with short names like i 173
LongVariable Avoid excessively long variable names like DEFAULT_MAX_PHONEMES 226
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 226
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 228
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 255
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 257
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 259
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 261
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 263
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 316
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 378
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 380
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 382
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 392
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 400
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 439
org/apache/commons/codec/language/bm/ResourceConstants.java
Rule Violation Line
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the CMT field if you want a default access modifier 31
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the ENCODING field if you want a default access modifier 32
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the EXT_CMT_END field if you want a default access modifier 33
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the EXT_CMT_START field if you want a default access modifier 34
org/apache/commons/codec/language/bm/Rule.java
Rule Violation Line
ShortVariable Avoid variables with short names like c 96
LongVariable Avoid excessively long variable names like ALL_STRINGS_RMATCHER 200
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 200
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 202
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 204
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 206
LongVariable Avoid excessively long variable names like HASH_INCLUDE_LENGTH 208
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. 210211
ShortVariable Avoid variables with short names like rs 219
ShortVariable Avoid variables with short names like ls 221
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'scanner': resource specifications are implicitly final 223
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'scanner': resource specifications are implicitly final 230
ShortVariable Avoid variables with short names like rt 246
ShortVariable Avoid variables with short names like rt 252
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 272
ShortVariable Avoid variables with short names like rt 289
ShortVariable Avoid variables with short names like rt 308
ShortVariable Avoid variables with short names like rt 324
ShortVariable Avoid variables with short names like rt 342
ShortVariable Avoid variables with short names like ph 354
ShortVariable Avoid variables with short names like in 361
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 364
ShortVariable Avoid variables with short names like ph 369
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 384
LongVariable Avoid excessively long variable names like inMultilineComment 393
LongVariable Avoid excessively long variable names like hashIncludeScanner 426
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'hashIncludeScanner': resource specifications are implicitly final 426
ShortVariable Avoid variables with short names like ph 440
ShortVariable Avoid variables with short names like r 442
ShortVariable Avoid variables with short names like sb 448
ConfusingTernary Avoid if (x != y) ..; else ..; 486537
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 491
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 493
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 497
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 501
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 505
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 524
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 528
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 532533
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the pattern field if you want a default access modifier 540
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
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 574
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 576
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 578
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 580
ShortVariable Avoid variables with short names like i 648
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 658
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 664
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 667
org/apache/commons/codec/net/BCodec.java
Rule Violation Line
LongVariable Avoid excessively long variable names like DECODING_POLICY_DEFAULT 54
CallSuperInConstructor It is a good practice to call super() in a constructor 97100
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 130
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 153
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 165
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 173
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 190
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 212
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 249
org/apache/commons/codec/net/PercentCodec.java
Rule Violation Line
LongVariable Avoid excessively long variable names like alwaysEncodeCharsMax 61
LongVariable Avoid excessively long variable names like alwaysEncodeCharsMin 61
ShortVariable Avoid variables with short names like c 86
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 93
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 106
ShortVariable Avoid variables with short names like b 111
ShortVariable Avoid variables with short names like u 114
ShortVariable Avoid variables with short names like l 115
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 139
ShortVariable Avoid variables with short names like bb 151
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 176
LongVariable Avoid excessively long variable names like expectedEncodingBytes 179
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 182
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 197
ShortVariable Avoid variables with short names like b 208
ShortVariable Avoid variables with short names like c 223
ShortVariable Avoid variables with short names like b 233
LongVariable Avoid excessively long variable names like alwaysEncodeCharsArray 251
ShortVariable Avoid variables with short names like c 260
org/apache/commons/codec/net/QCodec.java
Rule Violation Line
CallSuperInConstructor It is a good practice to call super() in a constructor 129131
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 161
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 184
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 196
ShortVariable Avoid variables with short names like b 208
ConfusingTernary Avoid if (x != y) ..; else ..; 209213
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 215
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 223
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 248
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 270
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 289
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 307
ShortVariable Avoid variables with short names like b 355
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 165
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 207
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 217
ShortVariable Avoid variables with short names like b 224
ShortVariable Avoid variables with short names like b 242
ShortVariable Avoid variables with short names like b 262
ShortVariable Avoid variables with short names like b 285
UnnecessaryModifier Unnecessary modifier 'final' on method 'encodeQuotedPrintable': private methods cannot be overridden 285292
ShortVariable Avoid variables with short names like b 305
ShortVariable Avoid variables with short names like b 319
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. 331
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 429
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 432
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 473
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 495
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 530
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 533
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 604
org/apache/commons/codec/net/RFC1522Codec.java
Rule Violation Line
AtLeastOneConstructor Each class should declare at least one constructor 43188
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 72
ShortVariable Avoid variables with short names like to 79
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 177
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
ShortVariable Avoid variables with short names like b 46
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the digit16 method if you want a default access modifier 4652
ShortVariable Avoid variables with short names like i 47
ShortVariable Avoid variables with short names like b 60
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the hexDigit method if you want a default access modifier 6062

Priority 4

org/apache/commons/codec/binary/Hex.java
Rule Violation Line
ShortClassName Avoid short class names like Hex 38567
org/apache/commons/codec/digest/B64.java
Rule Violation Line
ShortClassName Avoid short class names like B64 3199
org/apache/commons/codec/language/DaitchMokotoffSoundex.java
Rule Violation Line
ShortClassName Avoid short class names like Rule 160205
org/apache/commons/codec/language/bm/Lang.java
Rule Violation Line
ShortClassName Avoid short class names like Lang 77229
org/apache/commons/codec/language/bm/Rule.java
Rule Violation Line
ShortClassName Avoid short class names like Rule 85671

Files

org/apache/commons/codec/CharEncoding.java

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

org/apache/commons/codec/Charsets.java

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

org/apache/commons/codec/DecoderException.java

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

org/apache/commons/codec/EncoderException.java

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

org/apache/commons/codec/Resources.java

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

org/apache/commons/codec/StringEncoderComparator.java

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

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

Rule Violation Priority Line
LongVariable Avoid excessively long variable names like BITS_PER_ENCODED_BYTE 3 46
LongVariable Avoid excessively long variable names like BYTES_PER_ENCODED_BLOCK 3 47
LongVariable Avoid excessively long variable names like BYTES_PER_UNENCODED_BLOCK 3 48
LongVariable Avoid excessively long variable names like UPPER_CASE_DECODE_TABLE 3 55
LongVariable Avoid excessively long variable names like UPPER_CASE_ENCODE_TABLE 3 70
LongVariable Avoid excessively long variable names like LOWER_CASE_DECODE_TABLE 3 81
LongVariable Avoid excessively long variable names like LOWER_CASE_ENCODE_TABLE 3 97
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the decode method if you want a default access modifier 3 150199
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 156
ConfusingTernary Avoid if (x != y) ..; else ..; 3 160
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the encode method if you want a default access modifier 3 215240
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 217

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

Rule Violation Priority Line
LongVariable Avoid excessively long variable names like BITS_PER_ENCODED_BYTE 3 50
LongVariable Avoid excessively long variable names like BYTES_PER_ENCODED_BLOCK 3 51
LongVariable Avoid excessively long variable names like BYTES_PER_UNENCODED_BLOCK 3 52
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the decode method if you want a default access modifier 3 348441
ShortVariable Avoid variables with short names like b 3 358
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the encode method if you want a default access modifier 3 455549
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 459
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 469
ShortVariable Avoid variables with short names like b 3 526

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

Rule Violation Priority Line
LongVariable Avoid excessively long variable names like BITS_PER_ENCODED_BYTE 3 63
LongVariable Avoid excessively long variable names like BYTES_PER_UNENCODED_BLOCK 3 64
LongVariable Avoid excessively long variable names like BYTES_PER_ENCODED_BLOCK 3 65
LongVariable Avoid excessively long variable names like STANDARD_ENCODE_TABLE 3 75
LongVariable Avoid excessively long variable names like URL_SAFE_ENCODE_TABLE 3 88
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 242
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 366
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the toIntegerBytes method if you want a default access modifier 3 393415
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 400
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 422
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 425
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 430
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 436
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 442
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the decode method if you want a default access modifier 3 643700
ShortVariable Avoid variables with short names like b 3 652
ShortVariable Avoid variables with short names like in 3 724
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the encode method if you want a default access modifier 3 724793
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 726
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 736
ShortVariable Avoid variables with short names like b 3 774

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

Rule Violation Priority Line
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the Context nested class if you want a default access modifier 3 61120
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the ibitWorkArea field if you want a default access modifier 3 67
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the lbitWorkArea field if you want a default access modifier 3 73
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the buffer field if you want a default access modifier 3 78
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the pos field if you want a default access modifier 3 83
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the readPos field if you want a default access modifier 3 88
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the eof field if you want a default access modifier 3 94
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the currentLinePos field if you want a default access modifier 3 100
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the modulus field if you want a default access modifier 3 106
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 127
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the EOF field if you want a default access modifier 3 127
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 139
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 151
LongVariable Avoid excessively long variable names like DEFAULT_BUFFER_RESIZE_FACTOR 3 153
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 153
LongVariable Avoid excessively long variable names like DEFAULT_BUFFER_SIZE 3 159
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 159
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 171
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 174
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 179
LongVariable Avoid excessively long variable names like DECODING_POLICY_DEFAULT 3 185
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 185
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 192
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the CHUNK_SEPARATOR field if you want a default access modifier 3 192
ShortVariable Avoid variables with short names like b 3 261
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 270
FieldNamingConventions The final field name 'PAD' doesn't match '[a-z][a-zA-Z0-9]*' 1 270
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 unencodedBlockSize 3 276
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 276
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 279
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 286
LongVariable Avoid excessively long variable names like chunkSeparatorLength 3 291
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 291
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 312
LongVariable Avoid excessively long variable names like unencodedBlockSize 3 323
LongVariable Avoid excessively long variable names like chunkSeparatorLength 3 324
LongVariable Avoid excessively long variable names like unencodedBlockSize 3 338
LongVariable Avoid excessively long variable names like chunkSeparatorLength 3 339
LongVariable Avoid excessively long variable names like unencodedBlockSize 3 355
LongVariable Avoid excessively long variable names like chunkSeparatorLength 3 356
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the available method if you want a default access modifier 3 373375
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 388
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 392
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 408
ShortVariable Avoid variables with short names like i 3 419
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the decode method if you want a default access modifier 3 419
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 435
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 464
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 484
ShortVariable Avoid variables with short names like i 3 495
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the encode method if you want a default access modifier 3 495
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 556
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the hasData method if you want a default access modifier 3 611613
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 639
ShortVariable Avoid variables with short names like b 3 691
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the readResults method if you want a default access modifier 3 691706
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 703

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

Rule Violation Priority Line
ShortVariable Avoid variables with short names like r 3 127
ShortVariable Avoid variables with short names like b 3 132
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 133
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 167
ShortVariable Avoid variables with short names like c 3 191
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 201
ConfusingTernary Avoid if (x != y) ..; else ..; 3 201
ShortVariable Avoid variables with short names like n 3 228
ShortVariable Avoid variables with short names like b 3 234

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

Rule Violation Priority Line
ShortVariable Avoid variables with short names like c 3 120
ShortVariable Avoid variables with short names like i 3 192

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

Rule Violation Priority Line
AtLeastOneConstructor Each class should declare at least one constructor 3 35299
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 81
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 109
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the isEmpty method if you want a default access modifier 3 135137
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 150
LocalVariableNamingConventions The final local variable name 'l_ascii' doesn't match '[a-z][a-zA-Z0-9]*' 1 154
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 181
LocalVariableNamingConventions The final local variable name 'l_ascii' doesn't match '[a-z][a-zA-Z0-9]*' 1 185
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 240
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 243
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 246
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 295

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

Rule Violation Priority Line
ShortVariable Avoid variables with short names like cs 3 54
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the regionMatches method if you want a default access modifier 3 5483
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 57
ShortVariable Avoid variables with short names like c1 3 64
ShortVariable Avoid variables with short names like c2 3 65
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 72
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 78

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

Rule Violation Priority Line
ShortClassName Avoid short class names like Hex 4 38567
LongVariable Avoid excessively long variable names like DEFAULT_CHARSET_NAME 3 52
ShortVariable Avoid variables with short names like f 3 107
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 349
ShortVariable Avoid variables with short names like ch 3 366
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 374
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 453
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 456
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 459

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

Rule Violation Priority Line
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 72
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 75
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 78
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 94
MethodNamingConventions The static method name 'getBytesIso8859_1' doesn't match '[a-z][a-zA-Z0-9]*' 1 144146
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 169
ShortVariable Avoid variables with short names like e 3 269
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 310
MethodNamingConventions The static method name 'newStringIso8859_1' doesn't match '[a-z][a-zA-Z0-9]*' 1 331333
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 3 421423

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

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

Rule Violation Priority Line
ShortClassName Avoid short class names like B64 4 3199
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the B64T_STRING field if you want a default access modifier 3 36
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the B64T_ARRAY field if you want a default access modifier 3 41
ShortVariable Avoid variables with short names like b0 3 57
ShortVariable Avoid variables with short names like b1 3 57
ShortVariable Avoid variables with short names like b2 3 57
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the b64from24bit method if you want a default access modifier 3 5767
ShortVariable Avoid variables with short names like w 3 60
ShortVariable Avoid variables with short names like n 3 62
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the getRandomSalt method if you want a default access modifier 3 7880
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the getRandomSalt method if you want a default access modifier 3 9298

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

Rule Violation Priority Line
ShortVariable Avoid variables with short names like in 3 165
LongVariable Avoid excessively long variable names like parentNodesRemaining 3 190
ShortVariable Avoid variables with short names like cv 3 202
LongVariable Avoid excessively long variable names like inputChainingValue 3 217
LongVariable Avoid excessively long variable names like inputChainingValue 3 224
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 260
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 262
LongVariable Avoid excessively long variable names like CHAINING_VALUE_INTS 3 263
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 263
ShortVariable Avoid variables with short names like IV 3 267
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 267268
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
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 275
LongVariable Avoid excessively long variable names like DERIVE_KEY_CONTEXT 3 277
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 DERIVE_KEY_MATERIAL 3 279
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 279
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 284292
ShortMethodName Avoid using short method names 3 332342
ShortVariable Avoid variables with short names like a 3 333
ShortVariable Avoid variables with short names like b 3 333
ShortVariable Avoid variables with short names like c 3 333
ShortVariable Avoid variables with short names like d 3 333
ShortVariable Avoid variables with short names like mx 3 333
ShortVariable Avoid variables with short names like my 3 333
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 455
ShortVariable Avoid variables with short names like in 3 523
ShortVariable Avoid variables with short names like in 3 538

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

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

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

Rule Violation Priority Line
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the BUFFER_SIZE field if you want a default access modifier 3 63
LongVariable Avoid excessively long variable names like defaultMessageDigest 3 174
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 176
MethodNamingConventions The static method name 'getSha3_224Digest' doesn't match '[a-z][a-zA-Z0-9]*' 1 250252
MethodNamingConventions The static method name 'getSha3_256Digest' doesn't match '[a-z][a-zA-Z0-9]*' 1 262264
MethodNamingConventions The static method name 'getSha3_384Digest' doesn't match '[a-z][a-zA-Z0-9]*' 1 274276
MethodNamingConventions The static method name 'getSha3_512Digest' doesn't match '[a-z][a-zA-Z0-9]*' 1 286288
MethodNamingConventions The static method name 'getSha512_224Digest' doesn't match '[a-z][a-zA-Z0-9]*' 1 308310
MethodNamingConventions The static method name 'getSha512_256Digest' doesn't match '[a-z][a-zA-Z0-9]*' 1 319321
LongVariable Avoid excessively long variable names like messageDigestAlgorithm 3 353
MethodNamingConventions The static method name 'sha3_224' doesn't match '[a-z][a-zA-Z0-9]*' 1 669671
MethodNamingConventions The static method name 'sha3_224' doesn't match '[a-z][a-zA-Z0-9]*' 1 681683
MethodNamingConventions The static method name 'sha3_224' doesn't match '[a-z][a-zA-Z0-9]*' 1 692694
MethodNamingConventions The static method name 'sha3_224Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1 703705
MethodNamingConventions The static method name 'sha3_224Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1 715717
MethodNamingConventions The static method name 'sha3_224Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1 726728
MethodNamingConventions The static method name 'sha3_256' doesn't match '[a-z][a-zA-Z0-9]*' 1 737739
MethodNamingConventions The static method name 'sha3_256' doesn't match '[a-z][a-zA-Z0-9]*' 1 749751
MethodNamingConventions The static method name 'sha3_256' doesn't match '[a-z][a-zA-Z0-9]*' 1 760762
MethodNamingConventions The static method name 'sha3_256Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1 771773
MethodNamingConventions The static method name 'sha3_256Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1 783785
MethodNamingConventions The static method name 'sha3_256Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1 794796
MethodNamingConventions The static method name 'sha3_384' doesn't match '[a-z][a-zA-Z0-9]*' 1 805807
MethodNamingConventions The static method name 'sha3_384' doesn't match '[a-z][a-zA-Z0-9]*' 1 817819
MethodNamingConventions The static method name 'sha3_384' doesn't match '[a-z][a-zA-Z0-9]*' 1 828830
MethodNamingConventions The static method name 'sha3_384Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1 839841
MethodNamingConventions The static method name 'sha3_384Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1 851853
MethodNamingConventions The static method name 'sha3_384Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1 862864
MethodNamingConventions The static method name 'sha3_512' doesn't match '[a-z][a-zA-Z0-9]*' 1 873875
MethodNamingConventions The static method name 'sha3_512' doesn't match '[a-z][a-zA-Z0-9]*' 1 885887
MethodNamingConventions The static method name 'sha3_512' doesn't match '[a-z][a-zA-Z0-9]*' 1 896898
MethodNamingConventions The static method name 'sha3_512Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1 907909
MethodNamingConventions The static method name 'sha3_512Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1 919921
MethodNamingConventions The static method name 'sha3_512Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1 930932
MethodNamingConventions The static method name 'sha512_224' doesn't match '[a-z][a-zA-Z0-9]*' 1 10431045
MethodNamingConventions The static method name 'sha512_224' doesn't match '[a-z][a-zA-Z0-9]*' 1 10551057
MethodNamingConventions The static method name 'sha512_224' doesn't match '[a-z][a-zA-Z0-9]*' 1 10661068
MethodNamingConventions The static method name 'sha512_224Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1 10771079
MethodNamingConventions The static method name 'sha512_224Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1 10891091
MethodNamingConventions The static method name 'sha512_224Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1 11001102
MethodNamingConventions The static method name 'sha512_256' doesn't match '[a-z][a-zA-Z0-9]*' 1 11111113
MethodNamingConventions The static method name 'sha512_256' doesn't match '[a-z][a-zA-Z0-9]*' 1 11231125
MethodNamingConventions The static method name 'sha512_256' doesn't match '[a-z][a-zA-Z0-9]*' 1 11341136
MethodNamingConventions The static method name 'sha512_256Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1 11451147
MethodNamingConventions The static method name 'sha512_256Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1 11571159
MethodNamingConventions The static method name 'sha512_256Hex' doesn't match '[a-z][a-zA-Z0-9]*' 1 11681170
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'inputStream': resource specifications are implicitly final 3 1280
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'inputStream': resource specifications are implicitly final 3 1338
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 1373

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

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

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

Rule Violation Priority Line
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the APR1_PREFIX field if you want a default access modifier 3 55
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the MD5_PREFIX field if you want a default access modifier 3 61
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 276
ShortVariable Avoid variables with short names like p 3 283
ShortVariable Avoid variables with short names like m 3 284
ShortVariable Avoid variables with short names like ii 3 317
ShortVariable Avoid variables with short names like j 3 332
ConfusingTernary Avoid if (x != y) ..; else ..; 3 354358
ConfusingTernary Avoid if (x != y) ..; else ..; 3 368372
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 3 405407

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

Rule Violation Priority Line
ShortVariable Avoid variables with short names like h 3 121
ShortVariable Avoid variables with short names like k 3 129
ShortVariable Avoid variables with short names like h 3 229
ShortVariable Avoid variables with short names like k 3 236

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

Rule Violation Priority Line
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the finalise method if you want a default access modifier 3 87111
ShortVariable Avoid variables with short names like k1 3 92
ShortVariable Avoid variables with short names like b1 3 139
ShortVariable Avoid variables with short names like b2 3 139
ShortVariable Avoid variables with short names like b3 3 139
ShortVariable Avoid variables with short names like b4 3 139
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 144
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 147
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 150
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 156
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 168
ShortVariable Avoid variables with short names like k 3 195
ShortVariable Avoid variables with short names like k 3 224
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the finalise method if you want a default access modifier 3 257278
ShortVariable Avoid variables with short names like k1 3 259
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 298
UseUnderscoresInNumericLiterals Number 2862933555777941757L should separate every third digit with an underscore 3 298
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 303
UseUnderscoresInNumericLiterals Number 104729 should separate every third digit with an underscore 3 303
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 305
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 306
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 307
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 308
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 310
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 311
ShortVariable Avoid variables with short names like C1 3 313
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 313
ShortVariable Avoid variables with short names like C2 3 314
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 314
ShortVariable Avoid variables with short names like R1 3 315
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 315
ShortVariable Avoid variables with short names like R2 3 316
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 316
ShortVariable Avoid variables with short names like R3 3 317
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 317
ShortVariable Avoid variables with short names like M 3 318
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 318
ShortVariable Avoid variables with short names like N1 3 320
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 320
ShortVariable Avoid variables with short names like N2 3 322
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 322
ShortVariable Avoid variables with short names like h1 3 516
ShortVariable Avoid variables with short names like h2 3 517
ShortVariable Avoid variables with short names like k1 3 523
ShortVariable Avoid variables with short names like k2 3 524
ShortVariable Avoid variables with short names like k1 3 546
ShortVariable Avoid variables with short names like k2 3 547
ShortVariable Avoid variables with short names like k 3 706
ShortVariable Avoid variables with short names like k1 3 715
ShortVariable Avoid variables with short names like r0 3 773
ShortVariable Avoid variables with short names like r0 3 824
ShortVariable Avoid variables with short names like r1 3 825
ShortVariable Avoid variables with short names like k 3 906
ShortVariable Avoid variables with short names like k1 3 912
ShortVariable Avoid variables with short names like k 3 1036
ShortVariable Avoid variables with short names like k1 3 1047
ShortVariable Avoid variables with short names like k1 3 1106
ShortVariable Avoid variables with short names like k 3 1149
ShortVariable Avoid variables with short names like k1 3 1193
ShortVariable Avoid variables with short names like k 3 1213

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

Rule Violation Priority Line
ShortVariable Avoid variables with short names like T 3 52
ShortVariable Avoid variables with short names like b 3 599
ShortVariable Avoid variables with short names like i 3 603
ShortVariable Avoid variables with short names like x 3 605
ShortVariable Avoid variables with short names like b 3 640

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

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

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

Rule Violation Priority Line
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the SHA256_PREFIX field if you want a default access modifier 3 62
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the SHA512_PREFIX field if you want a default access modifier 3 68
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 173
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 176
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 177
ShortVariable Avoid variables with short names like m 3 182
ConfusingTernary Avoid if (x != y) ..; else ..; 3 285289
ShortVariable Avoid variables with short names like cp 3 333
ConfusingTernary Avoid if (x != y) ..; else ..; 3 405409
ConfusingTernary Avoid if (x != y) ..; else ..; 3 432436

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Rule Violation Priority Line
AtLeastOneConstructor Each class should declare at least one constructor 3 33425
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the cleanName method if you want a default access modifier 3 7888
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 121
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 129
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 138
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the getFirst3Last3 method if you want a default access modifier 3 159168
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 165
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the getMinRating method if you want a default access modifier 3 183199
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 214
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 217
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 220
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 223
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 247
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the isVowel method if you want a default access modifier 3 277280
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the leftToRightThenRightToLeftProcessing method if you want a default access modifier 3 295341
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 338
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the removeAccents method if you want a default access modifier 3 351370
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 353
ShortVariable Avoid variables with short names like sb 3 356
ShortVariable Avoid variables with short names like n 3 357
ShortVariable Avoid variables with short names like c 3 360
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the removeDoubleConsonants method if you want a default access modifier 3 384393
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the removeVowels method if you want a default access modifier 3 407424
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 421

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

Rule Violation Priority Line
AtLeastOneConstructor Each class should declare at least one constructor 3 55397
ShortVariable Avoid variables with short names like n 3 114
ShortVariable Avoid variables with short names like c 3 130
ShortVariable Avoid variables with short names like c 3 138
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 161
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 164
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 168
ShortVariable Avoid variables with short names like n 3 214

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

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

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

Rule Violation Priority Line
LongVariable Avoid excessively long variable names like US_ENGLISH_MAPPING_STRING 3 49
LongVariable Avoid excessively long variable names like US_ENGLISH_MAPPING 3 56
ShortVariable Avoid variables with short names like s1 3 126
ShortVariable Avoid variables with short names like s2 3 126
ShortVariable Avoid variables with short names like c 3 172
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the getMappingCode method if you want a default access modifier 3 172181
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 174
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 178
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 192
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 196

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

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

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

Rule Violation Priority Line
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the clean method if you want a default access modifier 3 4056
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 42
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 53
ShortVariable Avoid variables with short names like s1 3 84
ShortVariable Avoid variables with short names like s2 3 84
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the difference method if you want a default access modifier 3 8486
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the differenceEncoded method if you want a default access modifier 3 108121
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 111
ShortVariable Avoid variables with short names like cs 3 137
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the isEmpty method if you want a default access modifier 3 137139

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

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

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

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

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

Rule Violation Priority Line
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the merge method if you want a default access modifier 3 85
CallSuperInConstructor It is a good practice to call super() in a constructor 3 9698
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 127
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 130
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 141
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 144
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 157
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 159
LongVariable Avoid excessively long variable names like languagesResourceName 3 251
ShortVariable Avoid variables with short names like ls 3 253
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'lsScanner': resource specifications are implicitly final 3 254255
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 277

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

Rule Violation Priority Line
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the PhonemeBuilder nested class if you want a default access modifier 3 64149
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 78
ShortVariable Avoid variables with short names like i 3 168
ShortVariable Avoid variables with short names like i 3 173
LongVariable Avoid excessively long variable names like DEFAULT_MAX_PHONEMES 3 226
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 226
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 228
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 255
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 257
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 259
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 261
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 263
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 316
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 378
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 380
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 382
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 392
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 400
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 439

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

Rule Violation Priority Line
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the CMT field if you want a default access modifier 3 31
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the ENCODING field if you want a default access modifier 3 32
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the EXT_CMT_END field if you want a default access modifier 3 33
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the EXT_CMT_START field if you want a default access modifier 3 34

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

Rule Violation Priority Line
ShortClassName Avoid short class names like Rule 4 85671
ShortVariable Avoid variables with short names like c 3 96
LongVariable Avoid excessively long variable names like ALL_STRINGS_RMATCHER 3 200
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 200
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 202
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 204
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 206
LongVariable Avoid excessively long variable names like HASH_INCLUDE_LENGTH 3 208
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 210211
ShortVariable Avoid variables with short names like rs 3 219
ShortVariable Avoid variables with short names like ls 3 221
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'scanner': resource specifications are implicitly final 3 223
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'scanner': resource specifications are implicitly final 3 230
ShortVariable Avoid variables with short names like rt 3 246
ShortVariable Avoid variables with short names like rt 3 252
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 272
ShortVariable Avoid variables with short names like rt 3 289
ShortVariable Avoid variables with short names like rt 3 308
ShortVariable Avoid variables with short names like rt 3 324
ShortVariable Avoid variables with short names like rt 3 342
ShortVariable Avoid variables with short names like ph 3 354
ShortVariable Avoid variables with short names like in 3 361
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 364
ShortVariable Avoid variables with short names like ph 3 369
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 384
LongVariable Avoid excessively long variable names like inMultilineComment 3 393
LongVariable Avoid excessively long variable names like hashIncludeScanner 3 426
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'hashIncludeScanner': resource specifications are implicitly final 3 426
ShortVariable Avoid variables with short names like ph 3 440
ShortVariable Avoid variables with short names like r 3 442
ShortVariable Avoid variables with short names like sb 3 448
ConfusingTernary Avoid if (x != y) ..; else ..; 3 486537
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 491
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 493
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 497
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 501
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 505
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 524
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 528
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 532533
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the pattern field if you want a default access modifier 3 540
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
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 574
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 576
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 578
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 580
ShortVariable Avoid variables with short names like i 3 648
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 658
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 664
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 667

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

Rule Violation Priority Line
LongVariable Avoid excessively long variable names like DECODING_POLICY_DEFAULT 3 54
CallSuperInConstructor It is a good practice to call super() in a constructor 3 97100
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 130
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 153
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 165
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 173
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 190
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 212
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 249

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

Rule Violation Priority Line
LongVariable Avoid excessively long variable names like alwaysEncodeCharsMax 3 61
LongVariable Avoid excessively long variable names like alwaysEncodeCharsMin 3 61
ShortVariable Avoid variables with short names like c 3 86
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 93
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 106
ShortVariable Avoid variables with short names like b 3 111
ShortVariable Avoid variables with short names like u 3 114
ShortVariable Avoid variables with short names like l 3 115
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 139
ShortVariable Avoid variables with short names like bb 3 151
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 176
LongVariable Avoid excessively long variable names like expectedEncodingBytes 3 179
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 182
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 197
ShortVariable Avoid variables with short names like b 3 208
ShortVariable Avoid variables with short names like c 3 223
ShortVariable Avoid variables with short names like b 3 233
LongVariable Avoid excessively long variable names like alwaysEncodeCharsArray 3 251
ShortVariable Avoid variables with short names like c 3 260

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

Rule Violation Priority Line
CallSuperInConstructor It is a good practice to call super() in a constructor 3 129131
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 161
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 184
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 196
ShortVariable Avoid variables with short names like b 3 208
ConfusingTernary Avoid if (x != y) ..; else ..; 3 209213
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 215
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 223
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 248
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 270
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 289
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 307
ShortVariable Avoid variables with short names like b 3 355

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 165
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 207
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 217
ShortVariable Avoid variables with short names like b 3 224
ShortVariable Avoid variables with short names like b 3 242
ShortVariable Avoid variables with short names like b 3 262
ShortVariable Avoid variables with short names like b 3 285
UnnecessaryModifier Unnecessary modifier 'final' on method 'encodeQuotedPrintable': private methods cannot be overridden 3 285292
ShortVariable Avoid variables with short names like b 3 305
ShortVariable Avoid variables with short names like b 3 319
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 331
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 429
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 432
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 473
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 495
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 530
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 533
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 604

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

Rule Violation Priority Line
AtLeastOneConstructor Each class should declare at least one constructor 3 43188
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 72
ShortVariable Avoid variables with short names like to 3 79
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 177

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
ShortVariable Avoid variables with short names like b 3 46
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the digit16 method if you want a default access modifier 3 4652
ShortVariable Avoid variables with short names like i 3 47
ShortVariable Avoid variables with short names like b 3 60
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the hexDigit method if you want a default access modifier 3 6062