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]*' 381
org/apache/commons/codec/binary/BinaryCodec.java
Rule Violation Line
LocalVariableNamingConventions The final local variable name 'l_ascii' doesn't match '[a-z][a-zA-Z0-9]*' 154
LocalVariableNamingConventions The final local variable name 'l_ascii' doesn't match '[a-z][a-zA-Z0-9]*' 185
org/apache/commons/codec/binary/StringUtils.java
Rule Violation Line
MethodNamingConventions The static method name 'getBytesIso8859_1' doesn't match '[a-z][a-zA-Z0-9]*' 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 48
LongVariable Avoid excessively long variable names like BYTES_PER_ENCODED_BLOCK 49
LongVariable Avoid excessively long variable names like BYTES_PER_UNENCODED_BLOCK 50
LongVariable Avoid excessively long variable names like UPPER_CASE_DECODE_TABLE 57
LongVariable Avoid excessively long variable names like UPPER_CASE_ENCODE_TABLE 71
LongVariable Avoid excessively long variable names like LOWER_CASE_DECODE_TABLE 78
LongVariable Avoid excessively long variable names like LOWER_CASE_ENCODE_TABLE 93
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the decode method if you want a default access modifier 149189
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 155
ConfusingTernary Avoid if (x != y) ..; else ..; 158
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the encode method if you want a default access modifier 203224
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 205
org/apache/commons/codec/binary/Base32.java
Rule Violation Line
LongVariable Avoid excessively long variable names like BITS_PER_ENCODED_BYTE 84
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 84
LongVariable Avoid excessively long variable names like BYTES_PER_ENCODED_BLOCK 86
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 86
LongVariable Avoid excessively long variable names like BYTES_PER_UNENCODED_BLOCK 87
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 87
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 93104
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 112116
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 124135
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 143147
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 151
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 154
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 157
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 160
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 163
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 182
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 188
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 193
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 198
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the decode method if you want a default access modifier 402493
ShortVariable Avoid variables with short names like b 412
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the encode method if you want a default access modifier 507600
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 510
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 520
ShortVariable Avoid variables with short names like b 577
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the getLineSeparator method if you want a default access modifier 607609
org/apache/commons/codec/binary/Base64.java
Rule Violation Line
LinguisticNaming Linguistics Antipattern - The setter 'setUrlSafe' should not return any type except void linguistically 9799
LongVariable Avoid excessively long variable names like BITS_PER_ENCODED_BYTE 108
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 108
LongVariable Avoid excessively long variable names like BYTES_PER_UNENCODED_BLOCK 109
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 109
LongVariable Avoid excessively long variable names like BYTES_PER_ENCODED_BLOCK 110
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 110
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 111
LongVariable Avoid excessively long variable names like DECODING_TABLE_LENGTH 112
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 112
LongVariable Avoid excessively long variable names like STANDARD_ENCODE_TABLE 122
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 122128
LongVariable Avoid excessively long variable names like URL_SAFE_ENCODE_TABLE 135
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 135141
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 156166
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 172
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 179
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 181
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 300
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 422
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the toIntegerBytes method if you want a default access modifier 449471
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 456
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 483
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 488
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 493
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 499
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 501
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the decode method if you want a default access modifier 745803
ShortVariable Avoid variables with short names like b 755
ShortVariable Avoid variables with short names like in 827
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the encode method if you want a default access modifier 827896
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 829
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 839
ShortVariable Avoid variables with short names like b 877
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the getLineSeparator method if you want a default access modifier 903905
org/apache/commons/codec/binary/BaseNCodec.java
Rule Violation Line
LongVariable Avoid excessively long variable names like defaultEncodeTable 67
LongVariable Avoid excessively long variable names like defaultEncodeTable 72
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the AbstractBuilder constructor if you want a default access modifier 7275
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the asThis method if you want a default access modifier 7880
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the getDecodingPolicy method if you want a default access modifier 8284
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the getEncodeTable method if you want a default access modifier 8688
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the getLineLength method if you want a default access modifier 9092
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the getLineSeparator method if you want a default access modifier 9496
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the getPadding method if you want a default access modifier 98100
LinguisticNaming Linguistics Antipattern - The setter 'setDecodingPolicy' should not return any type except void linguistically 108111
LinguisticNaming Linguistics Antipattern - The setter 'setEncodeTable' should not return any type except void linguistically 119122
LinguisticNaming Linguistics Antipattern - The setter 'setLineLength' should not return any type except void linguistically 130133
LinguisticNaming Linguistics Antipattern - The setter 'setLineSeparator' should not return any type except void linguistically 141144
LinguisticNaming Linguistics Antipattern - The setter 'setPadding' should not return any type except void linguistically 152155
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the Context nested class if you want a default access modifier 164222
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the ibitWorkArea field if you want a default access modifier 170
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the lbitWorkArea field if you want a default access modifier 176
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the buffer field if you want a default access modifier 181
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the pos field if you want a default access modifier 186
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the readPos field if you want a default access modifier 191
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the eof field if you want a default access modifier 197
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the currentLinePos field if you want a default access modifier 203
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the modulus field if you want a default access modifier 209
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 229
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the EOF field if you want a default access modifier 229
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 241
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 253
LongVariable Avoid excessively long variable names like DEFAULT_BUFFER_RESIZE_FACTOR 255
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 255
LongVariable Avoid excessively long variable names like DEFAULT_BUFFER_SIZE 261
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 261
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 273
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 276
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 281
LongVariable Avoid excessively long variable names like DECODING_POLICY_DEFAULT 287
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 287
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 294
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the CHUNK_SEPARATOR field if you want a default access modifier 294
ShortVariable Avoid variables with short names like b 362
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the toLength method if you want a default access modifier 373375
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 381
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 384
LongVariable Avoid excessively long variable names like unencodedBlockSize 387
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 387
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 390
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 397
LongVariable Avoid excessively long variable names like chunkSeparatorLength 402
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 402
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 423
LongVariable Avoid excessively long variable names like chunkSeparatorLength 437
LongVariable Avoid excessively long variable names like unencodedBlockSize 437
LongVariable Avoid excessively long variable names like chunkSeparatorLength 454
LongVariable Avoid excessively long variable names like unencodedBlockSize 454
LongVariable Avoid excessively long variable names like chunkSeparatorLength 473
LongVariable Avoid excessively long variable names like unencodedBlockSize 473
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the available method if you want a default access modifier 490492
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 507
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 524
ShortVariable Avoid variables with short names like i 535
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the decode method if you want a default access modifier 535
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 551
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 580
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 600
ShortVariable Avoid variables with short names like i 611
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the encode method if you want a default access modifier 611
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 673
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the hasData method if you want a default access modifier 728730
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 755
ShortVariable Avoid variables with short names like b 807
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the readResults method if you want a default access modifier 807822
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 819
org/apache/commons/codec/binary/BaseNCodecInputStream.java
Rule Violation Line
ShortVariable Avoid variables with short names like r 126
ShortVariable Avoid variables with short names like b 131
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 132
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 166
ShortVariable Avoid variables with short names like c 190
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 200
ConfusingTernary Avoid if (x != y) ..; else ..; 200
ShortVariable Avoid variables with short names like n 228
ShortVariable Avoid variables with short names like b 233
org/apache/commons/codec/binary/BaseNCodecOutputStream.java
Rule Violation Line
ShortVariable Avoid variables with short names like c 122
ShortVariable Avoid variables with short names like i 194
org/apache/commons/codec/binary/BinaryCodec.java
Rule Violation Line
AtLeastOneConstructor Each class should declare at least one constructor 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 5478
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 57
ShortVariable Avoid variables with short names like c1 63
ShortVariable Avoid variables with short names like c2 64
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 69
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 74
org/apache/commons/codec/binary/Hex.java
Rule Violation Line
LongVariable Avoid excessively long variable names like DEFAULT_CHARSET_NAME 52
ShortVariable Avoid variables with short names like f 102
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 348
ShortVariable Avoid variables with short names like ch 365
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 373
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 452
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 455
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 458
org/apache/commons/codec/binary/StringUtils.java
Rule Violation Line
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 72
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 75
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 78
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 94
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 169
ShortVariable Avoid variables with short names like e 269
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 310
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 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. 57
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 58
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 59
LongVariable Avoid excessively long variable names like messageDigestAlgorithm 133
LongVariable Avoid excessively long variable names like messageDigestAlgorithm 138
org/apache/commons/codec/digest/B64.java
Rule Violation Line
CommentDefaultAccessModifier 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 166
LongVariable Avoid excessively long variable names like parentNodesRemaining 191
ShortVariable Avoid variables with short names like cv 203
LongVariable Avoid excessively long variable names like inputChainingValue 220
LongVariable Avoid excessively long variable names like inputChainingValue 226
LongVariable Avoid excessively long variable names like outputBlockCounter 239
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 255
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 256
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 257
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 258
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 259
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 260
LongVariable Avoid excessively long variable names like CHAINING_VALUE_INTS 261
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 261
ShortVariable Avoid variables with short names like IV 266
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 266
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 269
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 270
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 271
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 272
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 273
LongVariable Avoid excessively long variable names like DERIVE_KEY_CONTEXT 274
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 274
LongVariable Avoid excessively long variable names like DERIVE_KEY_MATERIAL 275
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 275
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 281289
ShortMethodName Avoid using short method names 327336
ShortVariable Avoid variables with short names like a 327
ShortVariable Avoid variables with short names like b 327
ShortVariable Avoid variables with short names like c 327
ShortVariable Avoid variables with short names like d 327
ShortVariable Avoid variables with short names like mx 327
ShortVariable Avoid variables with short names like my 327
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 447
ShortVariable Avoid variables with short names like in 515
ShortVariable Avoid variables with short names like in 530
org/apache/commons/codec/digest/Crypt.java
Rule Violation Line
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 75
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 78
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 81
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 84
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 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 788
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 804
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 873
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'stream': resource specifications are implicitly final 974
org/apache/commons/codec/digest/Md5Crypt.java
Rule Violation Line
CommentDefaultAccessModifier 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 53
ShortVariable Avoid variables with short names like b 601
ShortVariable Avoid variables with short names like i 605
ShortVariable Avoid variables with short names like x 607
ShortVariable Avoid variables with short names like b 642
org/apache/commons/codec/digest/PureJavaCrc32C.java
Rule Violation Line
ShortVariable Avoid variables with short names like T 55
ShortVariable Avoid variables with short names like b 599
ShortVariable Avoid variables with short names like c0 603
ShortVariable Avoid variables with short names like c1 604
ShortVariable Avoid variables with short names like c2 605
ShortVariable Avoid variables with short names like c3 606
ShortVariable Avoid variables with short names like c4 609
ShortVariable Avoid variables with short names like c5 610
ShortVariable Avoid variables with short names like c6 611
ShortVariable Avoid variables with short names like c7 612
ShortVariable Avoid variables with short names like b 645
org/apache/commons/codec/digest/Sha2Crypt.java
Rule Violation Line
CommentDefaultAccessModifier 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 37993
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 980
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 224
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 64147
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 78
ShortVariable Avoid variables with short names like i 168
ShortVariable Avoid variables with short names like i 172
LongVariable Avoid excessively long variable names like DEFAULT_MAX_PHONEMES 226
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 226
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 228
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 255
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 257
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 259
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 261
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 263
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 315
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 377
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 379
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 381
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 391
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 399
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 438
org/apache/commons/codec/language/bm/ResourceConstants.java
Rule Violation Line
CommentDefaultAccessModifier 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 221
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 221
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 223
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 225
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 227
LongVariable Avoid excessively long variable names like HASH_INCLUDE_LENGTH 229
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 229
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 231232
ShortVariable Avoid variables with short names like rs 240
ShortVariable Avoid variables with short names like ls 242
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'scanner': resource specifications are implicitly final 244
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'scanner': resource specifications are implicitly final 251
ShortVariable Avoid variables with short names like rt 267
ShortVariable Avoid variables with short names like rt 273
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 289
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 293
ShortVariable Avoid variables with short names like rt 310
ShortVariable Avoid variables with short names like rt 329
ShortVariable Avoid variables with short names like rt 345
ShortVariable Avoid variables with short names like rt 363
ShortVariable Avoid variables with short names like ph 375
ShortVariable Avoid variables with short names like in 382
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 385
ShortVariable Avoid variables with short names like ph 390
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 405
LongVariable Avoid excessively long variable names like inMultilineComment 414
LongVariable Avoid excessively long variable names like hashIncludeScanner 447
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'hashIncludeScanner': resource specifications are implicitly final 447
ShortVariable Avoid variables with short names like ph 461
ShortVariable Avoid variables with short names like r 463
ShortVariable Avoid variables with short names like sb 469
ConfusingTernary Avoid if (x != y) ..; else ..; 507558
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 512
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 514
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 518
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 522
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 526
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 545
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 549
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 553554
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the pattern field if you want a default access modifier 561
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 573
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 577
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 595
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 597
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 599
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 601
ShortVariable Avoid variables with short names like i 669
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 679
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 685
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 688
org/apache/commons/codec/net/BCodec.java
Rule Violation Line
LongVariable Avoid excessively long variable names like DECODING_POLICY_DEFAULT 55
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 126
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 156
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 164
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 181
org/apache/commons/codec/net/PercentCodec.java
Rule Violation Line
LongVariable Avoid excessively long variable names like alwaysEncodeCharsMax 60
LongVariable Avoid excessively long variable names like alwaysEncodeCharsMin 60
ShortVariable Avoid variables with short names like c 85
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 92
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 105
ShortVariable Avoid variables with short names like b 109
ShortVariable Avoid variables with short names like u 112
ShortVariable Avoid variables with short names like l 113
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 137
ShortVariable Avoid variables with short names like bb 149
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 174
LongVariable Avoid excessively long variable names like expectedEncodingBytes 176
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 179
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 194
ShortVariable Avoid variables with short names like b 205
ShortVariable Avoid variables with short names like c 220
ShortVariable Avoid variables with short names like b 230
LongVariable Avoid excessively long variable names like alwaysEncodeCharsArray 248
ShortVariable Avoid variables with short names like c 257
org/apache/commons/codec/net/QCodec.java
Rule Violation Line
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 157
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 187
ShortVariable Avoid variables with short names like b 199
ConfusingTernary Avoid if (x != y) ..; else ..; 200204
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 206
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 214
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 239
ShortVariable Avoid variables with short names like b 316
org/apache/commons/codec/net/QuotedPrintableCodec.java
Rule Violation Line
ShortVariable Avoid variables with short names like CR 83
ShortVariable Avoid variables with short names like LF 85
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 126
ShortVariable Avoid variables with short names like b 130
ShortVariable Avoid variables with short names like u 137
ShortVariable Avoid variables with short names like l 138
ShortVariable Avoid variables with short names like b 162
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 164
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 206
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 216
ShortVariable Avoid variables with short names like b 223
ShortVariable Avoid variables with short names like b 241
ShortVariable Avoid variables with short names like b 261
ShortVariable Avoid variables with short names like b 284
UnnecessaryModifier Unnecessary modifier 'final' on method 'encodeQuotedPrintable': private methods cannot be overridden 284291
ShortVariable Avoid variables with short names like b 304
ShortVariable Avoid variables with short names like b 318
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 325
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 330
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 427
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 430
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 469
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 490
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 525
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 528
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 574
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 597
org/apache/commons/codec/net/RFC1522Codec.java
Rule Violation Line
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the RFC1522Codec constructor if you want a default access modifier 6062
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 81
ShortVariable Avoid variables with short names like to 88
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 152
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 186
org/apache/commons/codec/net/URLCodec.java
Rule Violation Line
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 104
ShortVariable Avoid variables with short names like b 108
ShortVariable Avoid variables with short names like u 113
ShortVariable Avoid variables with short names like l 114
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 137
ShortVariable Avoid variables with short names like b 145
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 171
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 218
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 221
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 243
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 269
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 298
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 301
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 323
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 345
org/apache/commons/codec/net/Utils.java
Rule Violation Line
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 38566
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 77227
org/apache/commons/codec/language/bm/Rule.java
Rule Violation Line
ShortClassName Avoid short class names like Rule 85692

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 48
LongVariable Avoid excessively long variable names like BYTES_PER_ENCODED_BLOCK 3 49
LongVariable Avoid excessively long variable names like BYTES_PER_UNENCODED_BLOCK 3 50
LongVariable Avoid excessively long variable names like UPPER_CASE_DECODE_TABLE 3 57
LongVariable Avoid excessively long variable names like UPPER_CASE_ENCODE_TABLE 3 71
LongVariable Avoid excessively long variable names like LOWER_CASE_DECODE_TABLE 3 78
LongVariable Avoid excessively long variable names like LOWER_CASE_ENCODE_TABLE 3 93
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the decode method if you want a default access modifier 3 149189
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 155
ConfusingTernary Avoid if (x != y) ..; else ..; 3 158
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the encode method if you want a default access modifier 3 203224
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 205

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

Rule Violation Priority Line
LongVariable Avoid excessively long variable names like BITS_PER_ENCODED_BYTE 3 84
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 84
LongVariable Avoid excessively long variable names like BYTES_PER_ENCODED_BLOCK 3 86
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 86
LongVariable Avoid excessively long variable names like BYTES_PER_UNENCODED_BLOCK 3 87
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 87
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 93104
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 112116
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 124135
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 143147
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 151
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 154
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 157
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 160
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 163
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 182
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 188
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 193
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 198
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the decode method if you want a default access modifier 3 402493
ShortVariable Avoid variables with short names like b 3 412
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the encode method if you want a default access modifier 3 507600
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 510
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 520
ShortVariable Avoid variables with short names like b 3 577
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the getLineSeparator method if you want a default access modifier 3 607609

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

Rule Violation Priority Line
LinguisticNaming Linguistics Antipattern - The setter 'setUrlSafe' should not return any type except void linguistically 3 9799
LongVariable Avoid excessively long variable names like BITS_PER_ENCODED_BYTE 3 108
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 108
LongVariable Avoid excessively long variable names like BYTES_PER_UNENCODED_BLOCK 3 109
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 109
LongVariable Avoid excessively long variable names like BYTES_PER_ENCODED_BLOCK 3 110
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 110
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 111
LongVariable Avoid excessively long variable names like DECODING_TABLE_LENGTH 3 112
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 112
LongVariable Avoid excessively long variable names like STANDARD_ENCODE_TABLE 3 122
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 122128
LongVariable Avoid excessively long variable names like URL_SAFE_ENCODE_TABLE 3 135
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 135141
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 156166
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 172
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 179
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 181
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 300
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 422
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the toIntegerBytes method if you want a default access modifier 3 449471
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 456
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 483
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 488
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 493
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 499
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 501
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the decode method if you want a default access modifier 3 745803
ShortVariable Avoid variables with short names like b 3 755
ShortVariable Avoid variables with short names like in 3 827
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the encode method if you want a default access modifier 3 827896
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 829
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 839
ShortVariable Avoid variables with short names like b 3 877
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the getLineSeparator method if you want a default access modifier 3 903905

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

Rule Violation Priority Line
LongVariable Avoid excessively long variable names like defaultEncodeTable 3 67
LongVariable Avoid excessively long variable names like defaultEncodeTable 3 72
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the AbstractBuilder constructor if you want a default access modifier 3 7275
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the asThis method if you want a default access modifier 3 7880
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the getDecodingPolicy method if you want a default access modifier 3 8284
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the getEncodeTable method if you want a default access modifier 3 8688
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the getLineLength method if you want a default access modifier 3 9092
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the getLineSeparator method if you want a default access modifier 3 9496
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the getPadding method if you want a default access modifier 3 98100
LinguisticNaming Linguistics Antipattern - The setter 'setDecodingPolicy' should not return any type except void linguistically 3 108111
LinguisticNaming Linguistics Antipattern - The setter 'setEncodeTable' should not return any type except void linguistically 3 119122
LinguisticNaming Linguistics Antipattern - The setter 'setLineLength' should not return any type except void linguistically 3 130133
LinguisticNaming Linguistics Antipattern - The setter 'setLineSeparator' should not return any type except void linguistically 3 141144
LinguisticNaming Linguistics Antipattern - The setter 'setPadding' should not return any type except void linguistically 3 152155
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the Context nested class if you want a default access modifier 3 164222
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the ibitWorkArea field if you want a default access modifier 3 170
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the lbitWorkArea field if you want a default access modifier 3 176
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the buffer field if you want a default access modifier 3 181
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the pos field if you want a default access modifier 3 186
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the readPos field if you want a default access modifier 3 191
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the eof field if you want a default access modifier 3 197
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the currentLinePos field if you want a default access modifier 3 203
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the modulus field if you want a default access modifier 3 209
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 229
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the EOF field if you want a default access modifier 3 229
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 241
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 253
LongVariable Avoid excessively long variable names like DEFAULT_BUFFER_RESIZE_FACTOR 3 255
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 255
LongVariable Avoid excessively long variable names like DEFAULT_BUFFER_SIZE 3 261
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 261
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 273
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 276
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 281
LongVariable Avoid excessively long variable names like DECODING_POLICY_DEFAULT 3 287
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 287
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 294
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the CHUNK_SEPARATOR field if you want a default access modifier 3 294
ShortVariable Avoid variables with short names like b 3 362
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the toLength method if you want a default access modifier 3 373375
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 381
FieldNamingConventions The final field name 'PAD' doesn't match '[a-z][a-zA-Z0-9]*' 1 381
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 384
LongVariable Avoid excessively long variable names like unencodedBlockSize 3 387
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 387
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 390
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 397
LongVariable Avoid excessively long variable names like chunkSeparatorLength 3 402
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 402
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 423
LongVariable Avoid excessively long variable names like chunkSeparatorLength 3 437
LongVariable Avoid excessively long variable names like unencodedBlockSize 3 437
LongVariable Avoid excessively long variable names like chunkSeparatorLength 3 454
LongVariable Avoid excessively long variable names like unencodedBlockSize 3 454
LongVariable Avoid excessively long variable names like chunkSeparatorLength 3 473
LongVariable Avoid excessively long variable names like unencodedBlockSize 3 473
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the available method if you want a default access modifier 3 490492
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 507
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 524
ShortVariable Avoid variables with short names like i 3 535
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the decode method if you want a default access modifier 3 535
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 551
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 580
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 600
ShortVariable Avoid variables with short names like i 3 611
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the encode method if you want a default access modifier 3 611
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 673
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the hasData method if you want a default access modifier 3 728730
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 755
ShortVariable Avoid variables with short names like b 3 807
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the readResults method if you want a default access modifier 3 807822
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 819

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

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

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

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

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

Rule Violation Priority Line
AtLeastOneConstructor Each class should declare at least one constructor 3 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 5478
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 57
ShortVariable Avoid variables with short names like c1 3 63
ShortVariable Avoid variables with short names like c2 3 64
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 69
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 74

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

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

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

Rule Violation Priority Line
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 72
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 75
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 78
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 94
MethodNamingConventions The static method name 'getBytesIso8859_1' doesn't match '[a-z][a-zA-Z0-9]*' 1 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 57
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 58
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 59
LongVariable Avoid excessively long variable names like messageDigestAlgorithm 3 133
LongVariable Avoid excessively long variable names like messageDigestAlgorithm 3 138

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

Rule Violation Priority Line
ShortClassName Avoid short class names like B64 4 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 166
LongVariable Avoid excessively long variable names like parentNodesRemaining 3 191
ShortVariable Avoid variables with short names like cv 3 203
LongVariable Avoid excessively long variable names like inputChainingValue 3 220
LongVariable Avoid excessively long variable names like inputChainingValue 3 226
LongVariable Avoid excessively long variable names like outputBlockCounter 3 239
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 255
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 256
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 257
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 258
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 259
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 260
LongVariable Avoid excessively long variable names like CHAINING_VALUE_INTS 3 261
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 261
ShortVariable Avoid variables with short names like IV 3 266
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 266
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 269
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 270
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 271
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 272
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 273
LongVariable Avoid excessively long variable names like DERIVE_KEY_CONTEXT 3 274
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 274
LongVariable Avoid excessively long variable names like DERIVE_KEY_MATERIAL 3 275
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 275
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 281289
ShortMethodName Avoid using short method names 3 327336
ShortVariable Avoid variables with short names like a 3 327
ShortVariable Avoid variables with short names like b 3 327
ShortVariable Avoid variables with short names like c 3 327
ShortVariable Avoid variables with short names like d 3 327
ShortVariable Avoid variables with short names like mx 3 327
ShortVariable Avoid variables with short names like my 3 327
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 447
ShortVariable Avoid variables with short names like in 3 515
ShortVariable Avoid variables with short names like in 3 530

org/apache/commons/codec/digest/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 788
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 804
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 873
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'stream': resource specifications are implicitly final 3 974

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

Rule Violation Priority Line
CommentDefaultAccessModifier 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 53
ShortVariable Avoid variables with short names like b 3 601
ShortVariable Avoid variables with short names like i 3 605
ShortVariable Avoid variables with short names like x 3 607
ShortVariable Avoid variables with short names like b 3 642

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

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

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

Rule Violation Priority Line
CommentDefaultAccessModifier 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 37993
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 980

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 77227
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 102
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 104
LongVariable Avoid excessively long variable names like languageRulesResourceName 3 136
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'scanner': resource specifications are implicitly final 3 138139
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 184
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 186
ShortVariable Avoid variables with short names like ls 3 201
ShortVariable Avoid variables with short names like ls 3 224

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

Rule Violation Priority Line
CommentDefaultAccessModifier 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 64147
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 78
ShortVariable Avoid variables with short names like i 3 168
ShortVariable Avoid variables with short names like i 3 172
LongVariable Avoid excessively long variable names like DEFAULT_MAX_PHONEMES 3 226
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 226
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 228
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 255
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 257
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 259
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 261
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 263
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 315
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 377
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 379
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 381
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 391
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 399
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 438

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

Rule Violation Priority Line
CommentDefaultAccessModifier 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 85692
ShortVariable Avoid variables with short names like c 3 96
LongVariable Avoid excessively long variable names like ALL_STRINGS_RMATCHER 3 221
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 221
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 223
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 225
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 227
LongVariable Avoid excessively long variable names like HASH_INCLUDE_LENGTH 3 229
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 229
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 231232
ShortVariable Avoid variables with short names like rs 3 240
ShortVariable Avoid variables with short names like ls 3 242
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'scanner': resource specifications are implicitly final 3 244
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'scanner': resource specifications are implicitly final 3 251
ShortVariable Avoid variables with short names like rt 3 267
ShortVariable Avoid variables with short names like rt 3 273
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 289
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 293
ShortVariable Avoid variables with short names like rt 3 310
ShortVariable Avoid variables with short names like rt 3 329
ShortVariable Avoid variables with short names like rt 3 345
ShortVariable Avoid variables with short names like rt 3 363
ShortVariable Avoid variables with short names like ph 3 375
ShortVariable Avoid variables with short names like in 3 382
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 385
ShortVariable Avoid variables with short names like ph 3 390
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 405
LongVariable Avoid excessively long variable names like inMultilineComment 3 414
LongVariable Avoid excessively long variable names like hashIncludeScanner 3 447
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'hashIncludeScanner': resource specifications are implicitly final 3 447
ShortVariable Avoid variables with short names like ph 3 461
ShortVariable Avoid variables with short names like r 3 463
ShortVariable Avoid variables with short names like sb 3 469
ConfusingTernary Avoid if (x != y) ..; else ..; 3 507558
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 512
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 514
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 518
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 522
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 526
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 545
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 549
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 553554
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the pattern field if you want a default access modifier 3 561
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 573
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 577
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 595
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 597
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 599
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 601
ShortVariable Avoid variables with short names like i 3 669
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 679
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 685
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 688

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

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

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

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

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

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

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

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

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

Rule Violation Priority Line
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the RFC1522Codec constructor if you want a default access modifier 3 6062
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 81
ShortVariable Avoid variables with short names like to 3 88
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 152
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 186

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

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

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

Rule Violation Priority Line
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