Apache Commons logo Commons Imaging™ logo

Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

Files Infos Infos Warnings Warnings Errors Errors
682 0 0 1613

Files

Files Infos Warnings Errors
src/main/java/org/apache/commons/imaging/ColorTools.java 0 0 1
src/main/java/org/apache/commons/imaging/ImageInfo.java 0 0 1
src/main/java/org/apache/commons/imaging/Imaging.java 0 0 1
src/main/java/org/apache/commons/imaging/color/ColorCieLab.java 0 0 4
src/main/java/org/apache/commons/imaging/color/ColorCieLch.java 0 0 8
src/main/java/org/apache/commons/imaging/color/ColorCieLuv.java 0 0 4
src/main/java/org/apache/commons/imaging/color/ColorCmy.java 0 0 8
src/main/java/org/apache/commons/imaging/color/ColorCmyk.java 0 0 12
src/main/java/org/apache/commons/imaging/color/ColorConversions.java 0 0 202
src/main/java/org/apache/commons/imaging/color/ColorHsl.java 0 0 8
src/main/java/org/apache/commons/imaging/color/ColorHsv.java 0 0 8
src/main/java/org/apache/commons/imaging/color/ColorHunterLab.java 0 0 4
src/main/java/org/apache/commons/imaging/color/ColorXyz.java 0 0 8
src/main/java/org/apache/commons/imaging/common/BasicCParser.java 0 0 10
src/main/java/org/apache/commons/imaging/common/BinaryFunctions.java 0 0 2
src/main/java/org/apache/commons/imaging/common/BinaryOutputStream.java 0 0 2
src/main/java/org/apache/commons/imaging/common/ByteConversions.java 0 0 32
src/main/java/org/apache/commons/imaging/common/ImageBuilder.java 0 0 10
src/main/java/org/apache/commons/imaging/common/PackBits.java 0 0 4
src/main/java/org/apache/commons/imaging/common/RationalNumber.java 0 0 1
src/main/java/org/apache/commons/imaging/common/bytesource/ByteSource.java 0 0 1
src/main/java/org/apache/commons/imaging/common/bytesource/ByteSourceInputStream.java 0 0 1
src/main/java/org/apache/commons/imaging/common/itu_t4/T4AndT6Compression.java 0 0 19
src/main/java/org/apache/commons/imaging/common/itu_t4/T4_T6_Tables.java 0 0 2
src/main/java/org/apache/commons/imaging/common/mylzw/BitsToByteInputStream.java 0 0 2
src/main/java/org/apache/commons/imaging/common/mylzw/MyBitInputStream.java 0 0 2
src/main/java/org/apache/commons/imaging/common/mylzw/MyLzwCompressor.java 0 0 4
src/main/java/org/apache/commons/imaging/common/mylzw/MyLzwDecompressor.java 0 0 3
src/main/java/org/apache/commons/imaging/formats/bmp/BmpHeaderInfo.java 0 0 1
src/main/java/org/apache/commons/imaging/formats/bmp/BmpImageParser.java 0 0 21
src/main/java/org/apache/commons/imaging/formats/bmp/BmpWriterPalette.java 0 0 2
src/main/java/org/apache/commons/imaging/formats/bmp/BmpWriterRgb.java 0 0 1
src/main/java/org/apache/commons/imaging/formats/bmp/PixelParserBitFields.java 0 0 7
src/main/java/org/apache/commons/imaging/formats/bmp/PixelParserRgb.java 0 0 7
src/main/java/org/apache/commons/imaging/formats/bmp/PixelParserRle.java 0 0 4
src/main/java/org/apache/commons/imaging/formats/dcx/DcxImageParser.java 0 0 3
src/main/java/org/apache/commons/imaging/formats/gif/GifHeaderInfo.java 0 0 1
src/main/java/org/apache/commons/imaging/formats/gif/GifImageParser.java 0 0 70
src/main/java/org/apache/commons/imaging/formats/gif/ImageDescriptor.java 0 0 1
src/main/java/org/apache/commons/imaging/formats/icns/IcnsDecoder.java 0 0 8
src/main/java/org/apache/commons/imaging/formats/icns/IcnsImageParser.java 0 0 2
src/main/java/org/apache/commons/imaging/formats/icns/Rle24Compression.java 0 0 1
src/main/java/org/apache/commons/imaging/formats/ico/IcoImageParser.java 0 0 35
src/main/java/org/apache/commons/imaging/formats/jpeg/JpegConstants.java 0 0 41
src/main/java/org/apache/commons/imaging/formats/jpeg/JpegImageMetadata.java 0 0 3
src/main/java/org/apache/commons/imaging/formats/jpeg/JpegImageParser.java 0 0 16
src/main/java/org/apache/commons/imaging/formats/jpeg/decoder/Block.java 0 0 1
src/main/java/org/apache/commons/imaging/formats/jpeg/decoder/Dct.java 0 0 85
src/main/java/org/apache/commons/imaging/formats/jpeg/decoder/JpegDecoder.java 0 0 20
src/main/java/org/apache/commons/imaging/formats/jpeg/decoder/JpegInputStream.java 0 0 2
src/main/java/org/apache/commons/imaging/formats/jpeg/decoder/YCbCrConverter.java 0 0 20
src/main/java/org/apache/commons/imaging/formats/jpeg/decoder/ZigZag.java 0 0 1
src/main/java/org/apache/commons/imaging/formats/jpeg/exif/ExifRewriter.java 0 0 7
src/main/java/org/apache/commons/imaging/formats/jpeg/iptc/IptcParser.java 0 0 2
src/main/java/org/apache/commons/imaging/formats/jpeg/iptc/IptcRecord.java 0 0 2
src/main/java/org/apache/commons/imaging/formats/jpeg/iptc/JpegIptcRewriter.java 0 0 2
src/main/java/org/apache/commons/imaging/formats/jpeg/segments/App14Segment.java 0 0 6
src/main/java/org/apache/commons/imaging/formats/jpeg/segments/App2Segment.java 0 0 3
src/main/java/org/apache/commons/imaging/formats/jpeg/segments/ComSegment.java 0 0 1
src/main/java/org/apache/commons/imaging/formats/jpeg/segments/DhtSegment.java 0 0 3
src/main/java/org/apache/commons/imaging/formats/jpeg/segments/DqtSegment.java 0 0 3
src/main/java/org/apache/commons/imaging/formats/jpeg/segments/GenericSegment.java 0 0 1
src/main/java/org/apache/commons/imaging/formats/jpeg/segments/JfifSegment.java 0 0 2
src/main/java/org/apache/commons/imaging/formats/jpeg/segments/Segment.java 0 0 42
src/main/java/org/apache/commons/imaging/formats/jpeg/segments/SofnSegment.java 0 0 2
src/main/java/org/apache/commons/imaging/formats/jpeg/segments/SosSegment.java 0 0 8
src/main/java/org/apache/commons/imaging/formats/pcx/PcxConstants.java 0 0 1
src/main/java/org/apache/commons/imaging/formats/pcx/PcxImageParser.java 0 0 12
src/main/java/org/apache/commons/imaging/formats/pcx/PcxWriter.java 0 0 39
src/main/java/org/apache/commons/imaging/formats/png/BitParser.java 0 0 2
src/main/java/org/apache/commons/imaging/formats/png/GammaCorrection.java 0 0 3
src/main/java/org/apache/commons/imaging/formats/png/InterlaceMethod.java 0 0 1
src/main/java/org/apache/commons/imaging/formats/png/PhysicalScale.java 0 0 2
src/main/java/org/apache/commons/imaging/formats/png/PngCrc.java 0 0 15
src/main/java/org/apache/commons/imaging/formats/png/PngImageInfo.java 0 0 1
src/main/java/org/apache/commons/imaging/formats/png/PngImageParser.java 0 0 16
src/main/java/org/apache/commons/imaging/formats/png/PngWriter.java 0 0 20
src/main/java/org/apache/commons/imaging/formats/png/ScanExpediter.java 0 0 8
src/main/java/org/apache/commons/imaging/formats/png/ScanExpediterInterlaced.java 0 0 2
src/main/java/org/apache/commons/imaging/formats/png/ScanExpediterSimple.java 0 0 1
src/main/java/org/apache/commons/imaging/formats/png/chunks/PngChunk.java 0 0 6
src/main/java/org/apache/commons/imaging/formats/png/chunks/PngChunkGama.java 0 0 1
src/main/java/org/apache/commons/imaging/formats/png/chunks/PngChunkIccp.java 0 0 1
src/main/java/org/apache/commons/imaging/formats/png/chunks/PngChunkPlte.java 0 0 1
src/main/java/org/apache/commons/imaging/formats/png/chunks/PngChunkZtxt.java 0 0 1
src/main/java/org/apache/commons/imaging/formats/png/transparencyfilters/TransparencyFilterIndexedColor.java 0 0 1
src/main/java/org/apache/commons/imaging/formats/png/transparencyfilters/TransparencyFilterTrueColor.java 0 0 1
src/main/java/org/apache/commons/imaging/formats/pnm/FileInfo.java 0 0 1
src/main/java/org/apache/commons/imaging/formats/pnm/PamFileInfo.java 0 0 3
src/main/java/org/apache/commons/imaging/formats/pnm/PamWriter.java 0 0 4
src/main/java/org/apache/commons/imaging/formats/pnm/PbmFileInfo.java 0 0 3
src/main/java/org/apache/commons/imaging/formats/pnm/PbmWriter.java 0 0 1
src/main/java/org/apache/commons/imaging/formats/pnm/PgmFileInfo.java 0 0 3
src/main/java/org/apache/commons/imaging/formats/pnm/PgmWriter.java 0 0 3
src/main/java/org/apache/commons/imaging/formats/pnm/PnmImageParser.java 0 0 13
src/main/java/org/apache/commons/imaging/formats/pnm/PpmFileInfo.java 0 0 3
src/main/java/org/apache/commons/imaging/formats/pnm/PpmWriter.java 0 0 3
src/main/java/org/apache/commons/imaging/formats/psd/ImageResourceType.java 0 0 16
src/main/java/org/apache/commons/imaging/formats/psd/PsdHeaderInfo.java 0 0 5
src/main/java/org/apache/commons/imaging/formats/psd/PsdImageContents.java 0 0 8
src/main/java/org/apache/commons/imaging/formats/psd/PsdImageParser.java 0 0 30
src/main/java/org/apache/commons/imaging/formats/rgbe/RgbeInfo.java 0 0 4
src/main/java/org/apache/commons/imaging/formats/tga/TgaImageParser.java 0 0 1
src/main/java/org/apache/commons/imaging/formats/tiff/TiffElement.java 0 0 2
src/main/java/org/apache/commons/imaging/formats/tiff/TiffField.java 0 0 11
src/main/java/org/apache/commons/imaging/formats/tiff/TiffImageData.java 0 0 4
src/main/java/org/apache/commons/imaging/formats/tiff/TiffImageMetadata.java 0 0 5
src/main/java/org/apache/commons/imaging/formats/tiff/TiffImageParser.java 0 0 19
src/main/java/org/apache/commons/imaging/formats/tiff/TiffReader.java 0 0 7
src/main/java/org/apache/commons/imaging/formats/tiff/TiffTags.java 0 0 3
src/main/java/org/apache/commons/imaging/formats/tiff/constants/AdobePhotoshopTagConstants.java 0 0 4
src/main/java/org/apache/commons/imaging/formats/tiff/constants/AliasSketchbookProTagConstants.java 0 0 1
src/main/java/org/apache/commons/imaging/formats/tiff/constants/DngTagConstants.java 0 0 1
src/main/java/org/apache/commons/imaging/formats/tiff/constants/GdalLibraryTagConstants.java 0 0 1
src/main/java/org/apache/commons/imaging/formats/tiff/constants/GpsTagConstants.java 0 0 123
src/main/java/org/apache/commons/imaging/formats/tiff/constants/MicrosoftHdPhotoTagConstants.java 0 0 15
src/main/java/org/apache/commons/imaging/formats/tiff/constants/OceScanjobTagConstants.java 0 0 1
src/main/java/org/apache/commons/imaging/formats/tiff/constants/Tiff4TagConstants.java 0 0 1
src/main/java/org/apache/commons/imaging/formats/tiff/constants/TiffDirectoryType.java 0 0 20
src/main/java/org/apache/commons/imaging/formats/tiff/constants/WangTagConstants.java 0 0 2
src/main/java/org/apache/commons/imaging/formats/tiff/datareaders/BitInputStream.java 0 0 11
src/main/java/org/apache/commons/imaging/formats/tiff/datareaders/DataReaderStrips.java 0 0 6
src/main/java/org/apache/commons/imaging/formats/tiff/datareaders/DataReaderTiled.java 0 0 5
src/main/java/org/apache/commons/imaging/formats/tiff/datareaders/ImageDataReader.java 0 0 9
src/main/java/org/apache/commons/imaging/formats/tiff/fieldtypes/FieldType.java 0 0 18
src/main/java/org/apache/commons/imaging/formats/tiff/fieldtypes/FieldTypeAscii.java 0 0 4
src/main/java/org/apache/commons/imaging/formats/tiff/photometricinterpreters/PhotometricInterpreter.java 0 0 3
src/main/java/org/apache/commons/imaging/formats/tiff/photometricinterpreters/PhotometricInterpreterLogLuv.java 0 0 68
src/main/java/org/apache/commons/imaging/formats/tiff/photometricinterpreters/PhotometricInterpreterPalette.java 0 0 3
src/main/java/org/apache/commons/imaging/formats/tiff/photometricinterpreters/PhotometricInterpreterYCbCr.java 0 0 23
src/main/java/org/apache/commons/imaging/formats/tiff/taginfos/TagInfoAscii.java 0 0 2
src/main/java/org/apache/commons/imaging/formats/tiff/taginfos/TagInfoByteOrShort.java 0 0 1
src/main/java/org/apache/commons/imaging/formats/tiff/taginfos/TagInfoGpsText.java 0 0 3
src/main/java/org/apache/commons/imaging/formats/tiff/taginfos/TagInfoLong.java 0 0 1
src/main/java/org/apache/commons/imaging/formats/tiff/taginfos/TagInfoLongOrIFD.java 0 0 1
src/main/java/org/apache/commons/imaging/formats/tiff/taginfos/TagInfoLongs.java 0 0 1
src/main/java/org/apache/commons/imaging/formats/tiff/taginfos/TagInfoSRationals.java 0 0 1
src/main/java/org/apache/commons/imaging/formats/tiff/taginfos/TagInfoShortOrLong.java 0 0 2
src/main/java/org/apache/commons/imaging/formats/tiff/taginfos/TagInfoShortOrLongOrRational.java 0 0 1
src/main/java/org/apache/commons/imaging/formats/tiff/taginfos/TagInfoShortOrRational.java 0 0 1
src/main/java/org/apache/commons/imaging/formats/tiff/taginfos/TagInfoUndefineds.java 0 0 2
src/main/java/org/apache/commons/imaging/formats/tiff/write/TiffImageWriterBase.java 0 0 22
src/main/java/org/apache/commons/imaging/formats/tiff/write/TiffImageWriterLossless.java 0 0 7
src/main/java/org/apache/commons/imaging/formats/tiff/write/TiffOutputDirectory.java 0 0 3
src/main/java/org/apache/commons/imaging/formats/tiff/write/TiffOutputField.java 0 0 1
src/main/java/org/apache/commons/imaging/formats/tiff/write/TiffOutputSet.java 0 0 7
src/main/java/org/apache/commons/imaging/formats/wbmp/WbmpImageParser.java 0 0 12
src/main/java/org/apache/commons/imaging/formats/xbm/XbmImageParser.java 0 0 8
src/main/java/org/apache/commons/imaging/formats/xpm/XpmImageParser.java 0 0 37
src/main/java/org/apache/commons/imaging/icc/IccConstants.java 0 0 3
src/main/java/org/apache/commons/imaging/icc/IccProfileInfo.java 0 0 14
src/main/java/org/apache/commons/imaging/icc/IccProfileParser.java 0 0 17
src/main/java/org/apache/commons/imaging/icc/IccTagDataTypes.java 0 0 3
src/main/java/org/apache/commons/imaging/icc/IccTagTypes.java 0 0 24
src/main/java/org/apache/commons/imaging/palette/ColorSpaceSubset.java 0 0 5
src/main/java/org/apache/commons/imaging/palette/Dithering.java 0 0 4
src/main/java/org/apache/commons/imaging/palette/MedianCutQuantizer.java 0 0 2
src/main/java/org/apache/commons/imaging/palette/PaletteFactory.java 0 0 16
src/main/java/org/apache/commons/imaging/palette/QuantizedPalette.java 0 0 1
src/main/java/org/apache/commons/imaging/util/Debug.java 0 0 4

Details

src/main/java/org/apache/commons/imaging/ColorTools.java

Violation Message Line
Errors Unnecessary parentheses around assignment right-hand side. 151

src/main/java/org/apache/commons/imaging/ImageInfo.java

Violation Message Line
Errors More than 7 parameters (found 18). 104

src/main/java/org/apache/commons/imaging/Imaging.java

Violation Message Line
Errors Line is longer than 120 characters (found 195). 110

src/main/java/org/apache/commons/imaging/color/ColorCieLab.java

Violation Message Line
Errors Name 'L' must match pattern '^[a-z][a-zA-Z0-9]*$'. 71
Errors Name 'L' must match pattern '^[a-z][a-zA-Z0-9]*$'. 75
Errors '31' is a magic number. 116
Errors '31' is a magic number. 118

src/main/java/org/apache/commons/imaging/color/ColorCieLch.java

Violation Message Line
Errors Name 'L' must match pattern '^[a-z][a-zA-Z0-9]*$'. 71
Errors Name 'C' must match pattern '^[a-z][a-zA-Z0-9]*$'. 72
Errors Name 'H' must match pattern '^[a-z][a-zA-Z0-9]*$'. 73
Errors Name 'L' must match pattern '^[a-z][a-zA-Z0-9]*$'. 75
Errors Name 'C' must match pattern '^[a-z][a-zA-Z0-9]*$'. 75
Errors Name 'H' must match pattern '^[a-z][a-zA-Z0-9]*$'. 75
Errors '31' is a magic number. 116
Errors '31' is a magic number. 118

src/main/java/org/apache/commons/imaging/color/ColorCieLuv.java

Violation Message Line
Errors Name 'L' must match pattern '^[a-z][a-zA-Z0-9]*$'. 71
Errors Name 'L' must match pattern '^[a-z][a-zA-Z0-9]*$'. 75
Errors '31' is a magic number. 116
Errors '31' is a magic number. 118

src/main/java/org/apache/commons/imaging/color/ColorCmy.java

Violation Message Line
Errors Name 'C' must match pattern '^[a-z][a-zA-Z0-9]*$'. 101
Errors Name 'M' must match pattern '^[a-z][a-zA-Z0-9]*$'. 102
Errors Name 'Y' must match pattern '^[a-z][a-zA-Z0-9]*$'. 103
Errors Name 'C' must match pattern '^[a-z][a-zA-Z0-9]*$'. 105
Errors Name 'M' must match pattern '^[a-z][a-zA-Z0-9]*$'. 105
Errors Name 'Y' must match pattern '^[a-z][a-zA-Z0-9]*$'. 105
Errors '31' is a magic number. 146
Errors '31' is a magic number. 148

src/main/java/org/apache/commons/imaging/color/ColorCmyk.java

Violation Message Line
Errors Name 'C' must match pattern '^[a-z][a-zA-Z0-9]*$'. 109
Errors Name 'M' must match pattern '^[a-z][a-zA-Z0-9]*$'. 110
Errors Name 'Y' must match pattern '^[a-z][a-zA-Z0-9]*$'. 111
Errors Name 'K' must match pattern '^[a-z][a-zA-Z0-9]*$'. 112
Errors Name 'C' must match pattern '^[a-z][a-zA-Z0-9]*$'. 114
Errors Name 'M' must match pattern '^[a-z][a-zA-Z0-9]*$'. 114
Errors Name 'Y' must match pattern '^[a-z][a-zA-Z0-9]*$'. 114
Errors Name 'K' must match pattern '^[a-z][a-zA-Z0-9]*$'. 114
Errors 'if' construct must use '{}'s. 131
Errors '31' is a magic number. 157
Errors '31' is a magic number. 159
Errors '31' is a magic number. 161

src/main/java/org/apache/commons/imaging/color/ColorConversions.java

Violation Message Line
Errors Name 'X' must match pattern '^[a-z][a-zA-Z0-9]*$'. 32
Errors Name 'Y' must match pattern '^[a-z][a-zA-Z0-9]*$'. 32
Errors Name 'Z' must match pattern '^[a-z][a-zA-Z0-9]*$'. 33
Errors Name 'var_X' must match pattern '^[a-z][a-zA-Z0-9]*$'. 35
Errors Name 'var_Y' must match pattern '^[a-z][a-zA-Z0-9]*$'. 37
Errors Name 'var_Z' must match pattern '^[a-z][a-zA-Z0-9]*$'. 38
Errors Unnecessary parentheses around assignment right-hand side. 41
Errors Name 'L' must match pattern '^[a-z][a-zA-Z0-9]*$'. 56
Errors Name 'L' must match pattern '^[a-z][a-zA-Z0-9]*$'. 66
Errors Name 'var_Y' must match pattern '^[a-z][a-zA-Z0-9]*$'. 67
Errors Name 'var_X' must match pattern '^[a-z][a-zA-Z0-9]*$'. 68
Errors Name 'var_Z' must match pattern '^[a-z][a-zA-Z0-9]*$'. 69
Errors Name 'X' must match pattern '^[a-z][a-zA-Z0-9]*$'. 87
Errors Name 'Y' must match pattern '^[a-z][a-zA-Z0-9]*$'. 89
Errors Name 'Z' must match pattern '^[a-z][a-zA-Z0-9]*$'. 90
Errors Name 'X' must match pattern '^[a-z][a-zA-Z0-9]*$'. 99
Errors Name 'Y' must match pattern '^[a-z][a-zA-Z0-9]*$'. 100
Errors Name 'Z' must match pattern '^[a-z][a-zA-Z0-9]*$'. 100
Errors Name 'L' must match pattern '^[a-z][a-zA-Z0-9]*$'. 101
Errors Name 'L' must match pattern '^[a-z][a-zA-Z0-9]*$'. 112
Errors Name 'var_Y' must match pattern '^[a-z][a-zA-Z0-9]*$'. 114
Errors Name 'var_X' must match pattern '^[a-z][a-zA-Z0-9]*$'. 115
Errors Name 'var_Z' must match pattern '^[a-z][a-zA-Z0-9]*$'. 116
Errors Name 'Y' must match pattern '^[a-z][a-zA-Z0-9]*$'. 118
Errors Name 'X' must match pattern '^[a-z][a-zA-Z0-9]*$'. 119
Errors Name 'Z' must match pattern '^[a-z][a-zA-Z0-9]*$'. 120
Errors Name 'X' must match pattern '^[a-z][a-zA-Z0-9]*$'. 129
Errors Name 'Y' must match pattern '^[a-z][a-zA-Z0-9]*$'. 129
Errors Name 'Z' must match pattern '^[a-z][a-zA-Z0-9]*$'. 129
Errors Name 'var_X' must match pattern '^[a-z][a-zA-Z0-9]*$'. 131
Errors Name 'var_Y' must match pattern '^[a-z][a-zA-Z0-9]*$'. 132
Errors Name 'var_Z' must match pattern '^[a-z][a-zA-Z0-9]*$'. 133
Errors Name 'var_R' must match pattern '^[a-z][a-zA-Z0-9]*$'. 135
Errors Name 'var_G' must match pattern '^[a-z][a-zA-Z0-9]*$'. 136
Errors Name 'var_B' must match pattern '^[a-z][a-zA-Z0-9]*$'. 137
Errors Unnecessary parentheses around assignment right-hand side. 140
Errors Unnecessary parentheses around assignment right-hand side. 145
Errors Unnecessary parentheses around assignment right-hand side. 150
Errors Name 'R' must match pattern '^[a-z][a-zA-Z0-9]*$'. 155
Errors Unnecessary parentheses around assignment right-hand side. 155
Errors Name 'G' must match pattern '^[a-z][a-zA-Z0-9]*$'. 156
Errors Unnecessary parentheses around assignment right-hand side. 156
Errors Name 'B' must match pattern '^[a-z][a-zA-Z0-9]*$'. 157
Errors Unnecessary parentheses around assignment right-hand side. 157
Errors Name 'var_R' must match pattern '^[a-z][a-zA-Z0-9]*$'. 167
Errors Name 'var_G' must match pattern '^[a-z][a-zA-Z0-9]*$'. 168
Errors Name 'var_B' must match pattern '^[a-z][a-zA-Z0-9]*$'. 169
Errors Name 'X' must match pattern '^[a-z][a-zA-Z0-9]*$'. 192
Errors Name 'Y' must match pattern '^[a-z][a-zA-Z0-9]*$'. 193
Errors Name 'Z' must match pattern '^[a-z][a-zA-Z0-9]*$'. 194
Errors Name 'R' must match pattern '^[a-z][a-zA-Z0-9]*$'. 200
Errors Name 'G' must match pattern '^[a-z][a-zA-Z0-9]*$'. 201
Errors Name 'B' must match pattern '^[a-z][a-zA-Z0-9]*$'. 202
Errors Name 'C' must match pattern '^[a-z][a-zA-Z0-9]*$'. 207
Errors Name 'M' must match pattern '^[a-z][a-zA-Z0-9]*$'. 208
Errors Name 'Y' must match pattern '^[a-z][a-zA-Z0-9]*$'. 209
Errors Name 'R' must match pattern '^[a-z][a-zA-Z0-9]*$'. 224
Errors Name 'G' must match pattern '^[a-z][a-zA-Z0-9]*$'. 225
Errors Name 'B' must match pattern '^[a-z][a-zA-Z0-9]*$'. 226
Errors Name 'C' must match pattern '^[a-z][a-zA-Z0-9]*$'. 234
Errors Name 'M' must match pattern '^[a-z][a-zA-Z0-9]*$'. 235
Errors Name 'Y' must match pattern '^[a-z][a-zA-Z0-9]*$'. 236
Errors Name 'var_K' must match pattern '^[a-z][a-zA-Z0-9]*$'. 238
Errors Name 'C' must match pattern '^[a-z][a-zA-Z0-9]*$'. 265
Errors Name 'M' must match pattern '^[a-z][a-zA-Z0-9]*$'. 265
Errors Name 'Y' must match pattern '^[a-z][a-zA-Z0-9]*$'. 265
Errors Name 'K' must match pattern '^[a-z][a-zA-Z0-9]*$'. 266
Errors Unnecessary parentheses around assignment right-hand side. 269
Errors Unnecessary parentheses around assignment right-hand side. 270
Errors Unnecessary parentheses around assignment right-hand side. 271
Errors Name 'C' must match pattern '^[a-z][a-zA-Z0-9]*$'. 279
Errors Name 'M' must match pattern '^[a-z][a-zA-Z0-9]*$'. 280
Errors Name 'Y' must match pattern '^[a-z][a-zA-Z0-9]*$'. 281
Errors Name 'K' must match pattern '^[a-z][a-zA-Z0-9]*$'. 282
Errors Name 'R' must match pattern '^[a-z][a-zA-Z0-9]*$'. 289
Errors Name 'G' must match pattern '^[a-z][a-zA-Z0-9]*$'. 290
Errors Name 'B' must match pattern '^[a-z][a-zA-Z0-9]*$'. 291
Errors Name 'var_R' must match pattern '^[a-z][a-zA-Z0-9]*$'. 293
Errors Unnecessary parentheses around assignment right-hand side. 293
Errors Name 'var_G' must match pattern '^[a-z][a-zA-Z0-9]*$'. 294
Errors Unnecessary parentheses around assignment right-hand side. 294
Errors Name 'var_B' must match pattern '^[a-z][a-zA-Z0-9]*$'. 295
Errors Unnecessary parentheses around assignment right-hand side. 295
Errors Name 'var_Min' must match pattern '^[a-z][a-zA-Z0-9]*$'. 297
Errors Name 'var_Max' must match pattern '^[a-z][a-zA-Z0-9]*$'. 299
Errors Name 'del_Max' must match pattern '^[a-z][a-zA-Z0-9]*$'. 311
Errors Name 'L' must match pattern '^[a-z][a-zA-Z0-9]*$'. 313
Errors Each variable declaration must be in its own statement. 315
Errors Name 'H' must match pattern '^[a-z][a-zA-Z0-9]*$'. 315
Errors Name 'S' must match pattern '^[a-z][a-zA-Z0-9]*$'. 315
Errors Name 'del_R' must match pattern '^[a-z][a-zA-Z0-9]*$'. 335
Errors Name 'del_G' must match pattern '^[a-z][a-zA-Z0-9]*$'. 336
Errors Name 'del_B' must match pattern '^[a-z][a-zA-Z0-9]*$'. 337
Errors Name 'H' must match pattern '^[a-z][a-zA-Z0-9]*$'. 366
Errors Name 'S' must match pattern '^[a-z][a-zA-Z0-9]*$'. 366
Errors Name 'L' must match pattern '^[a-z][a-zA-Z0-9]*$'. 366
Errors Each variable declaration must be in its own statement. 367
Errors Name 'R' must match pattern '^[a-z][a-zA-Z0-9]*$'. 367
Errors Name 'G' must match pattern '^[a-z][a-zA-Z0-9]*$'. 367
Errors Name 'B' must match pattern '^[a-z][a-zA-Z0-9]*$'. 367
Errors Name 'var_2' must match pattern '^[a-z][a-zA-Z0-9]*$'. 375
Errors Name 'var_1' must match pattern '^[a-z][a-zA-Z0-9]*$'. 383
Errors Unnecessary parentheses around return value. 401
Errors Unnecessary parentheses around identifier 'v2'. 404
Errors Unnecessary parentheses around return value. 407
Errors Unnecessary parentheses around identifier 'v1'. 409
Errors Name 'R' must match pattern '^[a-z][a-zA-Z0-9]*$'. 413
Errors Name 'G' must match pattern '^[a-z][a-zA-Z0-9]*$'. 414
Errors Name 'B' must match pattern '^[a-z][a-zA-Z0-9]*$'. 415
Errors Name 'var_R' must match pattern '^[a-z][a-zA-Z0-9]*$'. 417
Errors Unnecessary parentheses around assignment right-hand side. 417
Errors Name 'var_G' must match pattern '^[a-z][a-zA-Z0-9]*$'. 418
Errors Unnecessary parentheses around assignment right-hand side. 418
Errors Name 'var_B' must match pattern '^[a-z][a-zA-Z0-9]*$'. 419
Errors Unnecessary parentheses around assignment right-hand side. 419
Errors Name 'var_Min' must match pattern '^[a-z][a-zA-Z0-9]*$'. 421
Errors Name 'var_Max' must match pattern '^[a-z][a-zA-Z0-9]*$'. 425
Errors Name 'del_Max' must match pattern '^[a-z][a-zA-Z0-9]*$'. 435
Errors Name 'V' must match pattern '^[a-z][a-zA-Z0-9]*$'. 437
Errors Each variable declaration must be in its own statement. 439
Errors Name 'H' must match pattern '^[a-z][a-zA-Z0-9]*$'. 439
Errors Name 'S' must match pattern '^[a-z][a-zA-Z0-9]*$'. 439
Errors Name 'del_R' must match pattern '^[a-z][a-zA-Z0-9]*$'. 448
Errors Name 'del_G' must match pattern '^[a-z][a-zA-Z0-9]*$'. 449
Errors Name 'del_B' must match pattern '^[a-z][a-zA-Z0-9]*$'. 450
Errors Name 'HSV' must match pattern '^[a-z][a-zA-Z0-9]*$'. 471
Errors Name 'H' must match pattern '^[a-z][a-zA-Z0-9]*$'. 475
Errors Name 'S' must match pattern '^[a-z][a-zA-Z0-9]*$'. 475
Errors Name 'V' must match pattern '^[a-z][a-zA-Z0-9]*$'. 475
Errors Each variable declaration must be in its own statement. 476
Errors Name 'R' must match pattern '^[a-z][a-zA-Z0-9]*$'. 476
Errors Name 'G' must match pattern '^[a-z][a-zA-Z0-9]*$'. 476
Errors Name 'B' must match pattern '^[a-z][a-zA-Z0-9]*$'. 476
Errors Name 'var_h' must match pattern '^[a-z][a-zA-Z0-9]*$'. 484
Errors Name 'var_i' must match pattern '^[a-z][a-zA-Z0-9]*$'. 488
Errors Name 'var_1' must match pattern '^[a-z][a-zA-Z0-9]*$'. 489
Errors Name 'var_2' must match pattern '^[a-z][a-zA-Z0-9]*$'. 490
Errors Name 'var_3' must match pattern '^[a-z][a-zA-Z0-9]*$'. 491
Errors Each variable declaration must be in its own statement. 493
Errors Name 'var_r' must match pattern '^[a-z][a-zA-Z0-9]*$'. 493
Errors Name 'var_g' must match pattern '^[a-z][a-zA-Z0-9]*$'. 493
Errors Name 'var_b' must match pattern '^[a-z][a-zA-Z0-9]*$'. 493
Errors Name 'convertCMYKtoRGB_Adobe' must match pattern '^[a-z][a-zA-Z0-9]*$'. 529
Errors Each variable declaration must be in its own statement. 547
Errors Name 'X' must match pattern '^[a-z][a-zA-Z0-9]*$'. 547
Errors Name 'Y' must match pattern '^[a-z][a-zA-Z0-9]*$'. 547
Errors Name 'Z' must match pattern '^[a-z][a-zA-Z0-9]*$'. 547
Errors Avoid nested blocks. 549
Errors Name 'var_Y' must match pattern '^[a-z][a-zA-Z0-9]*$'. 551
Errors Name 'var_X' must match pattern '^[a-z][a-zA-Z0-9]*$'. 552
Errors Name 'var_Z' must match pattern '^[a-z][a-zA-Z0-9]*$'. 553
Errors Name 'var_x_cube' must match pattern '^[a-z][a-zA-Z0-9]*$'. 555
Errors Name 'var_y_cube' must match pattern '^[a-z][a-zA-Z0-9]*$'. 556
Errors Name 'var_z_cube' must match pattern '^[a-z][a-zA-Z0-9]*$'. 557
Errors Each variable declaration must be in its own statement. 587
Errors Name 'R' must match pattern '^[a-z][a-zA-Z0-9]*$'. 587
Errors Name 'G' must match pattern '^[a-z][a-zA-Z0-9]*$'. 587
Errors Name 'B' must match pattern '^[a-z][a-zA-Z0-9]*$'. 587
Errors Avoid nested blocks. 588
Errors Name 'var_X' must match pattern '^[a-z][a-zA-Z0-9]*$'. 589
Errors Name 'var_Y' must match pattern '^[a-z][a-zA-Z0-9]*$'. 590
Errors Name 'var_Z' must match pattern '^[a-z][a-zA-Z0-9]*$'. 591
Errors Name 'var_R' must match pattern '^[a-z][a-zA-Z0-9]*$'. 593
Errors Name 'var_G' must match pattern '^[a-z][a-zA-Z0-9]*$'. 594
Errors Name 'var_B' must match pattern '^[a-z][a-zA-Z0-9]*$'. 595
Errors Unnecessary parentheses around assignment right-hand side. 598
Errors Unnecessary parentheses around assignment right-hand side. 603
Errors Unnecessary parentheses around assignment right-hand side. 609
Errors Unnecessary parentheses around assignment right-hand side. 614
Errors Unnecessary parentheses around assignment right-hand side. 615
Errors Unnecessary parentheses around assignment right-hand side. 616
Errors Name 'R' must match pattern '^[a-z][a-zA-Z0-9]*$'. 622
Errors Name 'G' must match pattern '^[a-z][a-zA-Z0-9]*$'. 622
Errors Name 'B' must match pattern '^[a-z][a-zA-Z0-9]*$'. 622
Errors Name 'L' must match pattern '^[a-z][a-zA-Z0-9]*$'. 652
Errors Name 'var_H' must match pattern '^[a-z][a-zA-Z0-9]*$'. 653
Errors Name 'C' must match pattern '^[a-z][a-zA-Z0-9]*$'. 662
Errors Name 'H' must match pattern '^[a-z][a-zA-Z0-9]*$'. 663
Errors Name 'L' must match pattern '^[a-z][a-zA-Z0-9]*$'. 672
Errors Name 'C' must match pattern '^[a-z][a-zA-Z0-9]*$'. 672
Errors Name 'H' must match pattern '^[a-z][a-zA-Z0-9]*$'. 672
Errors Name 'degree_2_radian' must match pattern '^[a-z][a-zA-Z0-9]*$'. 682
Errors Name 'radian_2_degree' must match pattern '^[a-z][a-zA-Z0-9]*$'. 686
Errors Name 'X' must match pattern '^[a-z][a-zA-Z0-9]*$'. 694
Errors Name 'Y' must match pattern '^[a-z][a-zA-Z0-9]*$'. 694
Errors Name 'Z' must match pattern '^[a-z][a-zA-Z0-9]*$'. 694
Errors Name 'var_U' must match pattern '^[a-z][a-zA-Z0-9]*$'. 697
Errors Name 'var_V' must match pattern '^[a-z][a-zA-Z0-9]*$'. 698
Errors Name 'var_Y' must match pattern '^[a-z][a-zA-Z0-9]*$'. 703
Errors Unnecessary parentheses around assignment right-hand side. 707
Errors Name 'ref_U' must match pattern '^[a-z][a-zA-Z0-9]*$'. 714
Errors Name 'ref_V' must match pattern '^[a-z][a-zA-Z0-9]*$'. 715
Errors Name 'L' must match pattern '^[a-z][a-zA-Z0-9]*$'. 720
Errors Name 'L' must match pattern '^[a-z][a-zA-Z0-9]*$'. 731
Errors Name 'var_Y' must match pattern '^[a-z][a-zA-Z0-9]*$'. 734
Errors Name 'ref_U' must match pattern '^[a-z][a-zA-Z0-9]*$'. 741
Errors Name 'ref_V' must match pattern '^[a-z][a-zA-Z0-9]*$'. 742
Errors Name 'var_U' must match pattern '^[a-z][a-zA-Z0-9]*$'. 743
Errors Name 'var_V' must match pattern '^[a-z][a-zA-Z0-9]*$'. 744
Errors Name 'Y' must match pattern '^[a-z][a-zA-Z0-9]*$'. 746
Errors Name 'X' must match pattern '^[a-z][a-zA-Z0-9]*$'. 747
Errors Name 'Z' must match pattern '^[a-z][a-zA-Z0-9]*$'. 748

src/main/java/org/apache/commons/imaging/color/ColorHsl.java

Violation Message Line
Errors Name 'H' must match pattern '^[a-z][a-zA-Z0-9]*$'. 71
Errors Name 'S' must match pattern '^[a-z][a-zA-Z0-9]*$'. 72
Errors Name 'L' must match pattern '^[a-z][a-zA-Z0-9]*$'. 73
Errors Name 'H' must match pattern '^[a-z][a-zA-Z0-9]*$'. 75
Errors Name 'S' must match pattern '^[a-z][a-zA-Z0-9]*$'. 75
Errors Name 'L' must match pattern '^[a-z][a-zA-Z0-9]*$'. 75
Errors '31' is a magic number. 116
Errors '31' is a magic number. 118

src/main/java/org/apache/commons/imaging/color/ColorHsv.java

Violation Message Line
Errors Name 'H' must match pattern '^[a-z][a-zA-Z0-9]*$'. 71
Errors Name 'S' must match pattern '^[a-z][a-zA-Z0-9]*$'. 72
Errors Name 'V' must match pattern '^[a-z][a-zA-Z0-9]*$'. 73
Errors Name 'H' must match pattern '^[a-z][a-zA-Z0-9]*$'. 75
Errors Name 'S' must match pattern '^[a-z][a-zA-Z0-9]*$'. 75
Errors Name 'V' must match pattern '^[a-z][a-zA-Z0-9]*$'. 75
Errors '31' is a magic number. 116
Errors '31' is a magic number. 118

src/main/java/org/apache/commons/imaging/color/ColorHunterLab.java

Violation Message Line
Errors Name 'L' must match pattern '^[a-z][a-zA-Z0-9]*$'. 71
Errors Name 'L' must match pattern '^[a-z][a-zA-Z0-9]*$'. 75
Errors '31' is a magic number. 116
Errors '31' is a magic number. 118

src/main/java/org/apache/commons/imaging/color/ColorXyz.java

Violation Message Line
Errors Name 'X' must match pattern '^[a-z][a-zA-Z0-9]*$'. 71
Errors Name 'Y' must match pattern '^[a-z][a-zA-Z0-9]*$'. 72
Errors Name 'Z' must match pattern '^[a-z][a-zA-Z0-9]*$'. 73
Errors Name 'X' must match pattern '^[a-z][a-zA-Z0-9]*$'. 75
Errors Name 'Y' must match pattern '^[a-z][a-zA-Z0-9]*$'. 75
Errors Name 'Z' must match pattern '^[a-z][a-zA-Z0-9]*$'. 75
Errors '31' is a magic number. 116
Errors '31' is a magic number. 118

src/main/java/org/apache/commons/imaging/common/BasicCParser.java

Violation Message Line
Errors Must have at least one statement. 85
Errors Method length is 165 lines (max allowed is 150). 104
Errors Unnecessary parentheses around assignment right-hand side. 115
Errors Unnecessary parentheses around assignment right-hand side. 343
Errors '0x07' is a magic number. 348
Errors '0x0c' is a magic number. 352
Errors '0x0a' is a magic number. 354
Errors '0x0d' is a magic number. 356
Errors '0x09' is a magic number. 358
Errors '0x0b' is a magic number. 360

src/main/java/org/apache/commons/imaging/common/BinaryFunctions.java

Violation Message Line
Errors Unnecessary parentheses around expression. 73
Errors Unnecessary parentheses around return value. 266

src/main/java/org/apache/commons/imaging/common/BinaryOutputStream.java

Violation Message Line
Errors Constructor definition in wrong order. 38
Errors Constructor definition in wrong order. 43

src/main/java/org/apache/commons/imaging/common/ByteConversions.java

Violation Message Line
Errors '5' is a magic number. 149
Errors '40' is a magic number. 149
Errors '6' is a magic number. 150
Errors '48' is a magic number. 150
Errors '7' is a magic number. 151
Errors '56' is a magic number. 151
Errors '7' is a magic number. 153
Errors '6' is a magic number. 154
Errors '5' is a magic number. 155
Errors '40' is a magic number. 158
Errors '48' is a magic number. 159
Errors '56' is a magic number. 160
Errors '5' is a magic number. 191
Errors '6' is a magic number. 192
Errors '7' is a magic number. 193
Errors '7' is a magic number. 199
Errors '6' is a magic number. 200
Errors '5' is a magic number. 201
Errors Unnecessary parentheses around return value. 235
Errors Unnecessary parentheses around return value. 237
Errors '5' is a magic number. 324
Errors '6' is a magic number. 325
Errors '7' is a magic number. 326
Errors '56' is a magic number. 329
Errors '48' is a magic number. 329
Errors '40' is a magic number. 329
Errors '56' is a magic number. 333
Errors '48' is a magic number. 333
Errors '40' is a magic number. 333
Errors '5' is a magic number. 363
Errors '6' is a magic number. 364
Errors '7' is a magic number. 365

src/main/java/org/apache/commons/imaging/common/ImageBuilder.java

Violation Message Line
Errors '0x00ff0000' is a magic number. 195
Errors '0x0000ff00' is a magic number. 195
Errors '0xff000000' is a magic number. 196
Errors '0x00ff0000' is a magic number. 198
Errors '0x0000ff00' is a magic number. 198
Errors '0xff000000' is a magic number. 199
Errors '0x00ff0000' is a magic number. 201
Errors '0x0000ff00' is a magic number. 201
Errors '0x00ff0000' is a magic number. 204
Errors '0x0000ff00' is a magic number. 204

src/main/java/org/apache/commons/imaging/common/PackBits.java

Violation Message Line
Errors '127' is a magic number. 44
Errors '-127' is a magic number. 53
Errors '-128' is a magic number. 64
Errors Must have at least one statement. 100

src/main/java/org/apache/commons/imaging/common/RationalNumber.java

Violation Message Line
Errors 'static' modifier out of order with the JLS suggestions. 124

src/main/java/org/apache/commons/imaging/common/bytesource/ByteSource.java

Violation Message Line
Errors '0xFFFFffffL' is a magic number. 49

src/main/java/org/apache/commons/imaging/common/bytesource/ByteSourceInputStream.java

Violation Message Line
Errors Static variable definition in wrong order. 29

src/main/java/org/apache/commons/imaging/common/itu_t4/T4AndT6Compression.java

Violation Message Line
Errors Variable access definition in wrong order. 31
Errors Variable access definition in wrong order. 32
Errors Name 'compressT4_1D' must match pattern '^[a-z][a-zA-Z0-9]*$'. 169
Errors Name 'decompressT4_1D' must match pattern '^[a-z][a-zA-Z0-9]*$'. 208
Errors Name 'compressT4_2D' must match pattern '^[a-z][a-zA-Z0-9]*$'. 243
Errors '-3' is a magic number. 279
Errors '-3' is a magic number. 281
Errors '-2' is a magic number. 283
Errors Name 'decompressT4_2D' must match pattern '^[a-z][a-zA-Z0-9]*$'. 360
Errors '-2' is a magic number. 401
Errors '-3' is a magic number. 403
Errors '-3' is a magic number. 482
Errors '-3' is a magic number. 484
Errors '-2' is a magic number. 486
Errors '-2' is a magic number. 582
Errors '-3' is a magic number. 584
Errors '1792' is a magic number. 649
Errors '63' is a magic number. 694
Errors Must have at least one statement. 711

src/main/java/org/apache/commons/imaging/common/itu_t4/T4_T6_Tables.java

Violation Message Line
Errors Utility classes should not have a public or default constructor. 19
Errors Name 'T4_T6_Tables' must match pattern '^[A-Z][a-zA-Z0-9]*$'. 19

src/main/java/org/apache/commons/imaging/common/mylzw/BitsToByteInputStream.java

Violation Message Line
Errors Unnecessary parentheses around assignment right-hand side. 39
Errors Unnecessary parentheses around assignment right-hand side. 41

src/main/java/org/apache/commons/imaging/common/mylzw/MyBitInputStream.java

Violation Message Line
Errors '257' is a magic number. 52
Errors Unnecessary parentheses around assignment right-hand side. 57

src/main/java/org/apache/commons/imaging/common/mylzw/MyLzwCompressor.java

Violation Message Line
Errors '12' is a magic number. 81
Errors 'static' modifier out of order with the JLS suggestions. 90
Errors Unnecessary parentheses around assignment right-hand side. 196
Errors '12' is a magic number. 202

src/main/java/org/apache/commons/imaging/common/mylzw/MyLzwDecompressor.java

Violation Message Line
Errors '12' is a magic number. 26
Errors Unnecessary parentheses around assignment right-hand side. 189
Errors '12' is a magic number. 200

src/main/java/org/apache/commons/imaging/formats/bmp/BmpHeaderInfo.java

Violation Message Line
Errors More than 7 parameters (found 29). 72

src/main/java/org/apache/commons/imaging/formats/bmp/BmpImageParser.java

Violation Message Line
Errors ',' is not followed by whitespace. 100
Errors '40' is a magic number. 135
Errors '52' is a magic number. 147
Errors '56' is a magic number. 154
Errors '108' is a magic number. 160
Errors '124' is a magic number. 176
Errors '52' is a magic number. 204
Errors '56' is a magic number. 209
Errors '108' is a magic number. 212
Errors '124' is a magic number. 227
Errors Avoid nested blocks. 265
Errors Avoid nested blocks. 275
Errors Method length is 172 lines (max allowed is 150). 302
Errors Unnecessary parentheses around assignment right-hand side. 309
Errors '7' is a magic number. 399
Errors '40' is a magic number. 420
Errors Line is longer than 120 characters (found 141). 522
Errors '0x42' is a magic number. 741
Errors '0x4d' is a magic number. 742
Errors Line is longer than 120 characters (found 124). 765
Errors Line is longer than 120 characters (found 122). 766

src/main/java/org/apache/commons/imaging/formats/bmp/BmpWriterPalette.java

Violation Message Line
Errors '0xffffff' is a magic number. 83
Errors Unnecessary parentheses around assignment right-hand side. 104

src/main/java/org/apache/commons/imaging/formats/bmp/BmpWriterRgb.java

Violation Message Line
Errors '0xffffff' is a magic number. 63

src/main/java/org/apache/commons/imaging/formats/bmp/PixelParserBitFields.java

Violation Message Line
Errors Unnecessary parentheses around assignment right-hand side. 51
Errors '0x7fffffff' is a magic number. 58
Errors '0x7fffffff' is a magic number. 65
Errors Unnecessary parentheses around assignment right-hand side. 92
Errors Unnecessary parentheses around assignment right-hand side. 93
Errors Unnecessary parentheses around assignment right-hand side. 94
Errors Unnecessary parentheses around assignment right-hand side. 95

src/main/java/org/apache/commons/imaging/formats/bmp/PixelParserRgb.java

Violation Message Line
Errors Unnecessary parentheses around assignment right-hand side. 48
Errors '0x1f' is a magic number. 68
Errors '0x1f' is a magic number. 69
Errors '5' is a magic number. 69
Errors '0x1f' is a magic number. 70
Errors '10' is a magic number. 70
Errors Unnecessary parentheses around identifier 'bytecount'. 110

src/main/java/org/apache/commons/imaging/formats/bmp/PixelParserRle.java

Violation Message Line
Errors '0x0f' is a magic number. 52
Errors Avoid nested blocks. 103
Errors Avoid nested blocks. 113
Errors Avoid nested blocks. 120

src/main/java/org/apache/commons/imaging/formats/dcx/DcxImageParser.java

Violation Message Line
Errors '0xFFFFffffL' is a magic number. 133
Errors Unnecessary parentheses around assignment right-hand side. 153
Errors '1023' is a magic number. 238

src/main/java/org/apache/commons/imaging/formats/gif/GifHeaderInfo.java

Violation Message Line
Errors More than 7 parameters (found 15). 37

src/main/java/org/apache/commons/imaging/formats/gif/GifImageParser.java

Violation Message Line
Errors 'static' modifier out of order with the JLS suggestions. 63
Errors 'static' modifier out of order with the JLS suggestions. 64
Errors 'static' modifier out of order with the JLS suggestions. 65
Errors '0xf9' is a magic number. 65
Errors 'static' modifier out of order with the JLS suggestions. 66
Errors 'static' modifier out of order with the JLS suggestions. 67
Errors 'static' modifier out of order with the JLS suggestions. 68
Errors 'static' modifier out of order with the JLS suggestions. 69
Errors 'static' modifier out of order with the JLS suggestions. 70
Errors 'static' modifier out of order with the JLS suggestions. 71
Errors '7' is a magic number. 73
Errors '6' is a magic number. 74
Errors '5' is a magic number. 75
Errors ',' is not followed by whitespace. 128
Errors '56' is a magic number. 129
Errors '55' is a magic number. 130
Errors '57' is a magic number. 130
Errors '97' is a magic number. 131
Errors Unnecessary parentheses around expression. 135
Errors Unnecessary parentheses around expression. 138
Errors Unnecessary parentheses around assignment right-hand side. 162
Errors '7' is a magic number. 166
Errors Unnecessary parentheses around assignment right-hand side. 170
Errors '7' is a magic number. 174
Errors '0x1c' is a magic number. 201
Errors Avoid nested blocks. 265
Errors '0xf9' is a magic number. 271
Errors Avoid nested blocks. 278
Errors Avoid nested blocks. 287
Errors Avoid nested blocks. 310
Errors Unnecessary parentheses around assignment right-hand side. 359
Errors '7' is a magic number. 359
Errors Unnecessary parentheses around assignment right-hand side. 363
Errors '6' is a magic number. 363
Errors Unnecessary parentheses around assignment right-hand side. 367
Errors '5' is a magic number. 367
Errors '7' is a magic number. 372
Errors Name 'LZWMinimumCodeSize' must match pattern '^[a-z][a-zA-Z0-9]*$'. 395
Errors Unnecessary parentheses around assignment right-hand side. 547
Errors '7' is a magic number. 693
Errors Unnecessary parentheses around identifier 'height'. 696
Errors Unnecessary parentheses around identifier 'rowsInPass2'. 706
Errors Unnecessary parentheses around identifier 'rowsInPass3'. 710
Errors Unnecessary parentheses around identifier 'rowsInPass4'. 714
Errors Method length is 235 lines (max allowed is 150). 755
Errors '0x47' is a magic number. 810
Errors '0x49' is a magic number. 811
Errors '0x46' is a magic number. 812
Errors '0x38' is a magic number. 814
Errors '0x39' is a magic number. 815
Errors '0x61' is a magic number. 816
Errors '7' is a magic number. 823
Errors '6' is a magic number. 824
Errors '5' is a magic number. 824
Errors Avoid nested blocks. 830
Errors '7' is a magic number. 832
Errors Avoid nested blocks. 835
Errors Avoid nested blocks. 839
Errors Avoid nested blocks. 849
Errors '0xf9' is a magic number. 851
Errors Avoid nested blocks. 885
Errors Avoid nested blocks. 892
Errors Unnecessary parentheses around assignment right-hand side. 903
Errors '7' is a magic number. 906
Errors Unnecessary parentheses around assignment right-hand side. 908
Errors '7' is a magic number. 911
Errors Avoid nested blocks. 917
Errors Avoid nested blocks. 937
Errors '0xffffff' is a magic number. 961
Errors Name 'GIF_MAGIC_TRAILER' must match pattern '^[a-z][a-zA-Z0-9]*$'. 1035

src/main/java/org/apache/commons/imaging/formats/gif/ImageDescriptor.java

Violation Message Line
Errors More than 7 parameters (found 12). 34

src/main/java/org/apache/commons/imaging/formats/icns/IcnsDecoder.java

Violation Message Line
Errors '0xff000000' is a magic number. 101
Errors '0xf' is a magic number. 119
Errors '0xf' is a magic number. 121
Errors '0xff000000' is a magic number. 141
Errors '7' is a magic number. 157
Errors '0xffffff' is a magic number. 178
Errors '0xffffff' is a magic number. 188
Errors '7' is a magic number. 237

src/main/java/org/apache/commons/imaging/formats/icns/IcnsImageParser.java

Violation Message Line
Errors '48' is a magic number. 300
Errors '48' is a magic number. 300

src/main/java/org/apache/commons/imaging/formats/icns/Rle24Compression.java

Violation Message Line
Errors '125' is a magic number. 49

src/main/java/org/apache/commons/imaging/formats/ico/IcoImageParser.java

Violation Message Line
Errors More than 7 parameters (found 8). 160
Errors More than 7 parameters (found 11). 224
Errors 'abstract' modifier out of order with the JLS suggestions. 259
Errors Method length is 196 lines (max allowed is 150). 323
Errors '40' is a magic number. 408
Errors '0x00ff0000' is a magic number. 419
Errors '0x0000ff00' is a magic number. 420
Errors '0xff000000' is a magic number. 422
Errors '14' is a magic number. 429
Errors '56' is a magic number. 429
Errors '14' is a magic number. 431
Errors '56' is a magic number. 431
Errors '56' is a magic number. 441
Errors Name 't_scanline_size' must match pattern '^[a-z][a-zA-Z0-9]*$'. 470
Errors '7' is a magic number. 470
Errors '0xff000000' is a magic number. 491
Errors '7' is a magic number. 508
Errors '0xffffff' is a magic number. 512
Errors Method length is 176 lines (max allowed is 150). 629
Errors Name 'scanline_size' must match pattern '^[a-z][a-zA-Z0-9]*$'. 667
Errors '7' is a magic number. 667
Errors Name 't_scanline_size' must match pattern '^[a-z][a-zA-Z0-9]*$'. 672
Errors '7' is a magic number. 672
Errors '40' is a magic number. 677
Errors '22' is a magic number. 700
Errors '40' is a magic number. 703
Errors Line is longer than 120 characters (found 131). 710
Errors Line is longer than 120 characters (found 131). 711
Errors '7' is a magic number. 734
Errors '0xffffff' is a magic number. 739
Errors '0xffffff' is a magic number. 750
Errors Unnecessary parentheses around assignment right-hand side. 766
Errors Name 't_row_padding' must match pattern '^[a-z][a-zA-Z0-9]*$'. 777
Errors '7' is a magic number. 777
Errors Unnecessary parentheses around assignment right-hand side. 795

src/main/java/org/apache/commons/imaging/formats/jpeg/JpegConstants.java

Violation Message Line
Errors '0xff00' is a magic number. 89
Errors Unnecessary parentheses around literal '0xff00'. 89
Errors Unnecessary parentheses around identifier 'JPEG_APP0'. 89
Errors '0xff00' is a magic number. 90
Errors Unnecessary parentheses around literal '0xff00'. 90
Errors '0xff00' is a magic number. 91
Errors Unnecessary parentheses around literal '0xff00'. 91
Errors '0xff00' is a magic number. 92
Errors Unnecessary parentheses around literal '0xff00'. 92
Errors '13' is a magic number. 92
Errors '0xff00' is a magic number. 93
Errors Unnecessary parentheses around literal '0xff00'. 93
Errors '14' is a magic number. 93
Errors '0xff00' is a magic number. 94
Errors Unnecessary parentheses around literal '0xff00'. 94
Errors '15' is a magic number. 94
Errors '0xFFc0' is a magic number. 98
Errors '0xFFc0' is a magic number. 99
Errors '0xFFc0' is a magic number. 100
Errors '0xFFc0' is a magic number. 101
Errors '0xFFc0' is a magic number. 102
Errors '0x5' is a magic number. 102
Errors '0xFFc0' is a magic number. 103
Errors '0x6' is a magic number. 103
Errors '0xFFc0' is a magic number. 104
Errors '0x7' is a magic number. 104
Errors '0xFFc0' is a magic number. 105
Errors '0xFFc0' is a magic number. 106
Errors '0x9' is a magic number. 106
Errors '0xFFc0' is a magic number. 107
Errors '0xa' is a magic number. 107
Errors '0xFFc0' is a magic number. 108
Errors '0xb' is a magic number. 108
Errors '0xFFc0' is a magic number. 109
Errors '0xc' is a magic number. 109
Errors '0xFFc0' is a magic number. 110
Errors '0xd' is a magic number. 110
Errors '0xFFc0' is a magic number. 111
Errors '0xe' is a magic number. 111
Errors '0xFFc0' is a magic number. 112
Errors '0xf' is a magic number. 112

src/main/java/org/apache/commons/imaging/formats/jpeg/JpegImageMetadata.java

Violation Message Line
Errors Static variable definition in wrong order. 42
Errors Must have at least one statement. 150
Errors Must have at least one statement. 151

src/main/java/org/apache/commons/imaging/formats/jpeg/JpegImageParser.java

Violation Message Line
Errors '6' is a magic number. 397
Errors '0xffd9' is a magic number. 422
Errors '0xffd9' is a magic number. 464
Errors '0xffd9' is a magic number. 506
Errors '0xffd9' is a magic number. 559
Errors Method length is 308 lines (max allowed is 150). 648
Errors Name 'SOF_segments' must match pattern '^[a-z][a-zA-Z0-9]*$'. 653
Errors Line is longer than 120 characters (found 121). 700
Errors '2.54' is a magic number. 733
Errors Avoid nested blocks. 743
Errors Avoid nested blocks. 749
Errors Avoid nested blocks. 755
Errors '2.54' is a magic number. 767
Errors Must have at least one statement. 801
Errors Avoid nested blocks. 1133
Errors Avoid nested blocks. 1144

src/main/java/org/apache/commons/imaging/formats/jpeg/decoder/Block.java

Violation Message Line
Errors Line does not match expected header line of ' * Licensed to the Apache Software Foundation (ASF) under one or more'. 2

src/main/java/org/apache/commons/imaging/formats/jpeg/decoder/Dct.java

Violation Message Line
Errors Line does not match expected header line of ' * Licensed to the Apache Software Foundation (ASF) under one or more'. 2
Errors '0.5' is a magic number. 68
Errors '0.25' is a magic number. 69
Errors '0.25' is a magic number. 70
Errors '0.25' is a magic number. 71
Errors '0.25' is a magic number. 72
Errors '0.25' is a magic number. 73
Errors '5.0' is a magic number. 73
Errors '0.25' is a magic number. 74
Errors '6.0' is a magic number. 74
Errors '0.25' is a magic number. 75
Errors '7.0' is a magic number. 75
Errors '5.0' is a magic number. 83
Errors '6.0' is a magic number. 84
Errors '7.0' is a magic number. 85
Errors '7' is a magic number. 138
Errors '6' is a magic number. 139
Errors '5' is a magic number. 140
Errors '5' is a magic number. 143
Errors '6' is a magic number. 144
Errors '7' is a magic number. 145
Errors Name 'neg_a41' must match pattern '^[a-z][a-zA-Z0-9]*$'. 153
Errors '6' is a magic number. 171
Errors '5' is a magic number. 172
Errors '7' is a magic number. 174
Errors Each variable declaration must be in its own statement. 179
Errors Each variable declaration must be in its own statement. 180
Errors Name 'neg_a41' must match pattern '^[a-z][a-zA-Z0-9]*$'. 180
Errors Each variable declaration must be in its own statement. 181
Errors Each variable declaration must be in its own statement. 182
Errors '7' is a magic number. 185
Errors '6' is a magic number. 186
Errors '5' is a magic number. 187
Errors '5' is a magic number. 190
Errors '6' is a magic number. 191
Errors '7' is a magic number. 192
Errors '6' is a magic number. 211
Errors '5' is a magic number. 212
Errors '7' is a magic number. 214
Errors '56' is a magic number. 219
Errors '48' is a magic number. 220
Errors '40' is a magic number. 221
Errors '40' is a magic number. 224
Errors '48' is a magic number. 225
Errors '56' is a magic number. 226
Errors '48' is a magic number. 245
Errors '40' is a magic number. 246
Errors '56' is a magic number. 248
Errors '6' is a magic number. 261
Errors '6' is a magic number. 262
Errors '5' is a magic number. 263
Errors '7' is a magic number. 264
Errors '5' is a magic number. 265
Errors '7' is a magic number. 267
Errors Name 'neg_b4' must match pattern '^[a-z][a-zA-Z0-9]*$'. 274
Errors Name 'neg_n5' must match pattern '^[a-z][a-zA-Z0-9]*$'. 285
Errors Name 'neg_m7' must match pattern '^[a-z][a-zA-Z0-9]*$'. 293
Errors '5' is a magic number. 301
Errors '6' is a magic number. 302
Errors '7' is a magic number. 303
Errors Each variable declaration must be in its own statement. 307
Errors Each variable declaration must be in its own statement. 308
Errors Name 'neg_b4' must match pattern '^[a-z][a-zA-Z0-9]*$'. 308
Errors Each variable declaration must be in its own statement. 309
Errors Name 'neg_n5' must match pattern '^[a-z][a-zA-Z0-9]*$'. 309
Errors Each variable declaration must be in its own statement. 310
Errors Name 'neg_m7' must match pattern '^[a-z][a-zA-Z0-9]*$'. 310
Errors '6' is a magic number. 313
Errors '6' is a magic number. 314
Errors '5' is a magic number. 315
Errors '7' is a magic number. 316
Errors '5' is a magic number. 317
Errors '7' is a magic number. 319
Errors '5' is a magic number. 342
Errors '6' is a magic number. 343
Errors '7' is a magic number. 344
Errors '48' is a magic number. 348
Errors '48' is a magic number. 349
Errors '40' is a magic number. 350
Errors '56' is a magic number. 351
Errors '40' is a magic number. 352
Errors '56' is a magic number. 354
Errors '40' is a magic number. 377
Errors '48' is a magic number. 378
Errors '56' is a magic number. 379

src/main/java/org/apache/commons/imaging/formats/jpeg/decoder/JpegDecoder.java

Violation Message Line
Errors Line does not match expected header line of ' * Licensed to the Apache Software Foundation (ASF) under one or more'. 2
Errors '0x00ff0000' is a magic number. 101
Errors '0x0000ff00' is a magic number. 101
Errors '0x00ff0000' is a magic number. 105
Errors '0x0000ff00' is a magic number. 105
Errors '0x00ff0000' is a magic number. 107
Errors '0x0000ff00' is a magic number. 107
Errors '0x00ff0000' is a magic number. 111
Errors '0x0000ff00' is a magic number. 111
Errors Name 'Y' must match pattern '^[a-z][a-zA-Z0-9]*$'. 134
Errors Name 'Cb' must match pattern '^[a-z][a-zA-Z0-9]*$'. 135
Errors Name 'Cr' must match pattern '^[a-z][a-zA-Z0-9]*$'. 136
Errors Name 'Y' must match pattern '^[a-z][a-zA-Z0-9]*$'. 141
Errors '0xf' is a magic number. 336
Errors '15' is a magic number. 341
Errors '63' is a magic number. 353
Errors Unnecessary parentheses around assignment right-hand side. 361
Errors Line is longer than 120 characters (found 122). 364
Errors '0.5f' is a magic number. 396
Errors Unnecessary parentheses around assignment right-hand side. 401

src/main/java/org/apache/commons/imaging/formats/jpeg/decoder/JpegInputStream.java

Violation Message Line
Errors Line does not match expected header line of ' * Licensed to the Apache Software Foundation (ASF) under one or more'. 2
Errors '7' is a magic number. 55

src/main/java/org/apache/commons/imaging/formats/jpeg/decoder/YCbCrConverter.java

Violation Message Line
Errors Line does not match expected header line of ' * Licensed to the Apache Software Foundation (ASF) under one or more'. 2
Errors '512' is a magic number. 22
Errors Name 'Y' must match pattern '^[a-z][a-zA-Z0-9]*$'. 31
Errors Name 'Cr' must match pattern '^[a-z][a-zA-Z0-9]*$'. 32
Errors '1.402f' is a magic number. 33
Errors Name 'Y' must match pattern '^[a-z][a-zA-Z0-9]*$'. 43
Errors Name 'Cb' must match pattern '^[a-z][a-zA-Z0-9]*$'. 44
Errors '1.772f' is a magic number. 45
Errors Name 'Cb' must match pattern '^[a-z][a-zA-Z0-9]*$'. 82
Errors Name 'Cr' must match pattern '^[a-z][a-zA-Z0-9]*$'. 83
Errors '0.34414f' is a magic number. 84
Errors '0.71414f' is a magic number. 84
Errors '135' is a magic number. 86
Errors Name 'Y' must match pattern '^[a-z][a-zA-Z0-9]*$'. 89
Errors '270' is a magic number. 90
Errors '135' is a magic number. 91
Errors '0.5f' is a magic number. 107
Errors Name 'Y' must match pattern '^[a-z][a-zA-Z0-9]*$'. 110
Errors Name 'Cb' must match pattern '^[a-z][a-zA-Z0-9]*$'. 110
Errors Name 'Cr' must match pattern '^[a-z][a-zA-Z0-9]*$'. 110

src/main/java/org/apache/commons/imaging/formats/jpeg/decoder/ZigZag.java

Violation Message Line
Errors Line does not match expected header line of ' * Licensed to the Apache Software Foundation (ASF) under one or more'. 2

src/main/java/org/apache/commons/imaging/formats/jpeg/exif/ExifRewriter.java

Violation Message Line
Errors Line is longer than 120 characters (found 221). 54
Errors '6' is a magic number. 387
Errors Line is longer than 120 characters (found 123). 517
Errors '0xffff' is a magic number. 518
Errors Name 'APP1Written' must match pattern '^[a-z][a-zA-Z0-9]*$'. 534
Errors Line is longer than 120 characters (found 127). 548
Errors '0xffff' is a magic number. 549

src/main/java/org/apache/commons/imaging/formats/jpeg/iptc/IptcParser.java

Violation Message Line
Errors '0x7fff' is a magic number. 181
Errors '0xffff' is a magic number. 363

src/main/java/org/apache/commons/imaging/formats/jpeg/iptc/IptcRecord.java

Violation Message Line
Errors Static variable definition in wrong order. 27
Errors Variable access definition in wrong order. 27

src/main/java/org/apache/commons/imaging/formats/jpeg/iptc/JpegIptcRewriter.java

Violation Message Line
Errors Line is longer than 120 characters (found 123). 197
Errors Avoid nested blocks. 291

src/main/java/org/apache/commons/imaging/formats/jpeg/segments/App14Segment.java

Violation Message Line
Errors Variable access definition in wrong order. 31
Errors Variable access definition in wrong order. 32
Errors Name 'ADOBE_COLOR_TRANSFORM_YCbCr' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 32
Errors Variable access definition in wrong order. 33
Errors Must have at least one statement. 39
Errors '11' is a magic number. 57

src/main/java/org/apache/commons/imaging/formats/jpeg/segments/App2Segment.java

Violation Message Line
Errors Variable access definition in wrong order. 30
Errors Variable access definition in wrong order. 31
Errors Unnecessary parentheses around assignment right-hand side. 53

src/main/java/org/apache/commons/imaging/formats/jpeg/segments/ComSegment.java

Violation Message Line
Errors Must have at least one statement. 45

src/main/java/org/apache/commons/imaging/formats/jpeg/segments/DhtSegment.java

Violation Message Line
Errors Line does not match expected header line of ' * Licensed to the Apache Software Foundation (ASF) under one or more'. 2
Errors '0xf' is a magic number. 147
Errors '0xf' is a magic number. 148

src/main/java/org/apache/commons/imaging/formats/jpeg/segments/DqtSegment.java

Violation Message Line
Errors Line does not match expected header line of ' * Licensed to the Apache Software Foundation (ASF) under one or more'. 2
Errors '0xf' is a magic number. 65
Errors '0xf' is a magic number. 66

src/main/java/org/apache/commons/imaging/formats/jpeg/segments/GenericSegment.java

Violation Message Line
Errors '50' is a magic number. 47

src/main/java/org/apache/commons/imaging/formats/jpeg/segments/JfifSegment.java

Violation Message Line
Errors Constructor definition in wrong order. 44
Errors Constructor definition in wrong order. 49

src/main/java/org/apache/commons/imaging/formats/jpeg/segments/Segment.java

Violation Message Line
Errors '0xffc0' is a magic number. 48
Errors '0xffc1' is a magic number. 50
Errors '0xffc2' is a magic number. 52
Errors '0xffc3' is a magic number. 54
Errors '0xffc5' is a magic number. 57
Errors '0xffc6' is a magic number. 59
Errors '0xffc7' is a magic number. 61
Errors '0xffc8' is a magic number. 64
Errors '0xffc9' is a magic number. 66
Errors '0xffca' is a magic number. 68
Errors '0xffcb' is a magic number. 70
Errors '0xffcd' is a magic number. 73
Errors '0xffce' is a magic number. 75
Errors '0xffcf' is a magic number. 77
Errors '0xffc4' is a magic number. 80
Errors '0xffcc' is a magic number. 82
Errors '0xffd0' is a magic number. 85
Errors '0xffd1' is a magic number. 87
Errors '0xffd2' is a magic number. 89
Errors '0xffd3' is a magic number. 91
Errors '0xffd4' is a magic number. 93
Errors '0xffd5' is a magic number. 95
Errors '0xffd6' is a magic number. 97
Errors '0xffd7' is a magic number. 99
Errors '0xffd8' is a magic number. 102
Errors '0xffd9' is a magic number. 104
Errors '0xffda' is a magic number. 106
Errors '0xffdb' is a magic number. 108
Errors '0xffdc' is a magic number. 110
Errors '0xffdd' is a magic number. 112
Errors '0xffde' is a magic number. 114
Errors '0xffdf' is a magic number. 116
Errors '0xfffe' is a magic number. 122
Errors '0xff01' is a magic number. 124
Errors '0xff02' is a magic number. 132
Errors '0xffbf' is a magic number. 132
Errors '0xffe0' is a magic number. 135
Errors '0xffef' is a magic number. 135
Errors '0xffe0' is a magic number. 136
Errors '0xfff0' is a magic number. 138
Errors '0xfffd' is a magic number. 138
Errors '0xffe0' is a magic number. 139

src/main/java/org/apache/commons/imaging/formats/jpeg/segments/SofnSegment.java

Violation Message Line
Errors '0xf' is a magic number. 73
Errors '0xf' is a magic number. 74

src/main/java/org/apache/commons/imaging/formats/jpeg/segments/SosSegment.java

Violation Message Line
Errors Variable access definition in wrong order. 28
Errors Variable access definition in wrong order. 29
Errors Variable access definition in wrong order. 30
Errors Variable access definition in wrong order. 31
Errors '0xf' is a magic number. 75
Errors '0xf' is a magic number. 76
Errors '0xf' is a magic number. 92
Errors '0xf' is a magic number. 93

src/main/java/org/apache/commons/imaging/formats/pcx/PcxConstants.java

Violation Message Line
Errors Line does not match expected header line of ' * Licensed to the Apache Software Foundation (ASF) under one or more'. 2

src/main/java/org/apache/commons/imaging/formats/pcx/PcxImageParser.java

Violation Message Line
Errors More than 7 parameters (found 17). 184
Errors '0xff000000' is a magic number. 266
Errors '65' is a magic number. 272
Errors '10' is a magic number. 278
Errors '0xc0' is a magic number. 320
Errors '0xc0' is a magic number. 320
Errors '0x3f' is a magic number. 321
Errors '12' is a magic number. 343
Errors '769' is a magic number. 358
Errors '7' is a magic number. 381
Errors '0xffffff' is a magic number. 391
Errors '7' is a magic number. 440

src/main/java/org/apache/commons/imaging/formats/pcx/PcxWriter.java

Violation Message Line
Errors Line does not match expected header line of ' * Licensed to the Apache Software Foundation (ASF) under one or more'. 2
Errors '72' is a magic number. 87
Errors '72' is a magic number. 87
Errors '63' is a magic number. 106
Errors '0xc0' is a magic number. 111
Errors '0xc0' is a magic number. 111
Errors '0xc0' is a magic number. 114
Errors '0xc0' is a magic number. 123
Errors '0xc0' is a magic number. 123
Errors '0xc0' is a magic number. 126
Errors '0xffffff' is a magic number. 157
Errors '0xffffff' is a magic number. 163
Errors '10' is a magic number. 180
Errors '5' is a magic number. 181
Errors '48' is a magic number. 190
Errors '54' is a magic number. 197
Errors '10' is a magic number. 218
Errors '5' is a magic number. 219
Errors '48' is a magic number. 228
Errors '54' is a magic number. 235
Errors '7' is a magic number. 253
Errors '10' is a magic number. 259
Errors '48' is a magic number. 270
Errors '54' is a magic number. 277
Errors '0xffffff' is a magic number. 283
Errors '0xffffff' is a magic number. 287
Errors Unnecessary parentheses around assignment right-hand side. 293
Errors '7' is a magic number. 293
Errors '10' is a magic number. 320
Errors '5' is a magic number. 321
Errors '54' is a magic number. 337
Errors '0xffffff' is a magic number. 344
Errors Unnecessary parentheses around assignment right-hand side. 345
Errors '10' is a magic number. 356
Errors '5' is a magic number. 357
Errors '48' is a magic number. 366
Errors '54' is a magic number. 373
Errors '0xffffff' is a magic number. 379
Errors '12' is a magic number. 385

src/main/java/org/apache/commons/imaging/formats/png/BitParser.java

Violation Message Line
Errors '7' is a magic number. 42
Errors Unnecessary parentheses around return value. 48

src/main/java/org/apache/commons/imaging/formats/png/GammaCorrection.java

Violation Message Line
Errors '0xff000000' is a magic number. 45
Errors Unnecessary parentheses around literal '0xff000000'. 45
Errors Unnecessary parentheses around expression. 65

src/main/java/org/apache/commons/imaging/formats/png/InterlaceMethod.java

Violation Message Line
Errors Line is longer than 120 characters (found 132). 22

src/main/java/org/apache/commons/imaging/formats/png/PhysicalScale.java

Violation Message Line
Errors Class PhysicalScale should be declared as final. 22
Errors Variable access definition in wrong order. 25

src/main/java/org/apache/commons/imaging/formats/png/PngCrc.java

Violation Message Line
Errors Name 'crc_table' must match pattern '^[a-z][a-zA-Z0-9]*$'. 22
Errors Name 'crc_table_computed' must match pattern '^[a-z][a-zA-Z0-9]*$'. 25
Errors Name 'make_crc_table' must match pattern '^[a-z][a-zA-Z0-9]*$'. 28
Errors '0xedb88320L' is a magic number. 37
Errors Name 'update_crc' must match pattern '^[a-z][a-zA-Z0-9]*$'. 53
Errors '0xffffffffL' is a magic number. 71
Errors '0xffffffffL' is a magic number. 71
Errors Name 'start_partial_crc' must match pattern '^[a-z][a-zA-Z0-9]*$'. 74
Errors '0xffffffffL' is a magic number. 75
Errors Name 'continue_partial_crc' must match pattern '^[a-z][a-zA-Z0-9]*$'. 78
Errors Name 'old_crc' must match pattern '^[a-z][a-zA-Z0-9]*$'. 78
Errors Name 'finish_partial_crc' must match pattern '^[a-z][a-zA-Z0-9]*$'. 82
Errors Name 'old_crc' must match pattern '^[a-z][a-zA-Z0-9]*$'. 82
Errors Unnecessary parentheses around return value. 83
Errors '0xffffffffL' is a magic number. 83

src/main/java/org/apache/commons/imaging/formats/png/PngImageInfo.java

Violation Message Line
Errors More than 7 parameters (found 20). 29

src/main/java/org/apache/commons/imaging/formats/png/PngImageParser.java

Violation Message Line
Errors Unnecessary parentheses around identifier 'bytes'. 254
Errors Method length is 152 lines (max allowed is 150). 327
Errors Name 'IHDRs' must match pattern '^[a-z][a-zA-Z0-9]*$'. 348
Errors Name 'PLTEs' must match pattern '^[a-z][a-zA-Z0-9]*$'. 452
Errors Method length is 181 lines (max allowed is 150). 482
Errors Name 'IHDRs' must match pattern '^[a-z][a-zA-Z0-9]*$'. 510
Errors Name 'PLTEs' must match pattern '^[a-z][a-zA-Z0-9]*$'. 517
Errors Name 'IDATs' must match pattern '^[a-z][a-zA-Z0-9]*$'. 529
Errors Name 'IDAT' must match pattern '^[a-z][a-zA-Z0-9]*$'. 535
Errors Avoid nested blocks. 556
Errors '0.5' is a magic number. 592
Errors Avoid nested blocks. 605
Errors Name 'is_srgb' must match pattern '^[a-z][a-zA-Z0-9]*$'. 649
Errors Name 'cs_sRGB' must match pattern '^[a-z][a-zA-Z0-9]*$'. 654
Errors Name 'IHDRs' must match pattern '^[a-z][a-zA-Z0-9]*$'. 677
Errors Unnecessary parentheses around expression. 689

src/main/java/org/apache/commons/imaging/formats/png/PngWriter.java

Violation Message Line
Errors Line is longer than 120 characters (found 123). 54
Errors Name 'png_crc' must match pattern '^[a-z][a-zA-Z0-9]*$'. 79
Errors Name 'isValidISO_8859_1' must match pattern '^[a-z][a-zA-Z0-9]*$'. 211
Errors '9' is a magic number. 283
Errors '5' is a magic number. 289
Errors '6' is a magic number. 290
Errors '7' is a magic number. 291
Errors Method length is 298 lines (max allowed is 150). 385
Errors Avoid nested blocks. 438
Errors Line is longer than 120 characters (found 127). 439
Errors Unnecessary parentheses around assignment right-hand side. 448
Errors Avoid nested blocks. 473
Errors Avoid nested blocks. 476
Errors 'cast' is not followed by whitespace. 534
Errors Avoid nested blocks. 561
Errors Avoid nested blocks. 567
Errors Avoid nested blocks. 645
Errors Avoid nested blocks. 655
Errors Line is longer than 120 characters (found 133). 667
Errors Line is longer than 120 characters (found 133). 669

src/main/java/org/apache/commons/imaging/formats/png/ScanExpediter.java

Violation Message Line
Errors More than 7 parameters (found 10). 48
Errors '7' is a magic number. 68
Errors Avoid nested blocks. 88
Errors Avoid nested blocks. 105
Errors '0xff000000' is a magic number. 118
Errors Avoid nested blocks. 129
Errors Avoid nested blocks. 142
Errors Avoid nested blocks. 154

src/main/java/org/apache/commons/imaging/formats/png/ScanExpediterInterlaced.java

Violation Message Line
Errors More than 7 parameters (found 10). 35
Errors '7' is a magic number. 58

src/main/java/org/apache/commons/imaging/formats/png/ScanExpediterSimple.java

Violation Message Line
Errors More than 7 parameters (found 10). 28

src/main/java/org/apache/commons/imaging/formats/png/chunks/PngChunk.java

Violation Message Line
Errors Variable access definition in wrong order. 30
Errors Variable access definition in wrong order. 31
Errors Variable access definition in wrong order. 32
Errors Variable access definition in wrong order. 33
Errors '5' is a magic number. 46
Errors Unnecessary parentheses around assignment right-hand side. 47

src/main/java/org/apache/commons/imaging/formats/png/chunks/PngChunkGama.java

Violation Message Line
Errors '100000.0' is a magic number. 36

src/main/java/org/apache/commons/imaging/formats/png/chunks/PngChunkIccp.java

Violation Message Line
Errors Constructor definition in wrong order. 38

src/main/java/org/apache/commons/imaging/formats/png/chunks/PngChunkPlte.java

Violation Message Line
Errors '0xff000000' is a magic number. 51

src/main/java/org/apache/commons/imaging/formats/png/chunks/PngChunkZtxt.java

Violation Message Line
Errors Line is longer than 120 characters (found 123). 58

src/main/java/org/apache/commons/imaging/formats/png/transparencyfilters/TransparencyFilterIndexedColor.java

Violation Message Line
Errors '0x00ffffff' is a magic number. 42

src/main/java/org/apache/commons/imaging/formats/png/transparencyfilters/TransparencyFilterTrueColor.java

Violation Message Line
Errors '0x00ffffff' is a magic number. 46

src/main/java/org/apache/commons/imaging/formats/pnm/FileInfo.java

Violation Message Line
Errors '0.5f' is a magic number. 80

src/main/java/org/apache/commons/imaging/formats/pnm/PamFileInfo.java

Violation Message Line
Errors Line is longer than 120 characters (found 137). 36
Errors '65535' is a magic number. 46
Errors '65535f' is a magic number. 47

src/main/java/org/apache/commons/imaging/formats/pnm/PamWriter.java

Violation Message Line
Errors Unnecessary parentheses around string "DEPTH 4". 46
Errors Unnecessary parentheses around string "MAXVAL 255". 49
Errors Unnecessary parentheses around string "TUPLTYPE RGB_ALPHA". 52
Errors Unnecessary parentheses around string "ENDHDR". 55

src/main/java/org/apache/commons/imaging/formats/pnm/PbmFileInfo.java

Violation Message Line
Errors '7' is a magic number. 86
Errors '0xff000000' is a magic number. 94
Errors '0xff000000' is a magic number. 103

src/main/java/org/apache/commons/imaging/formats/pnm/PbmWriter.java

Violation Message Line
Errors '127' is a magic number. 60

src/main/java/org/apache/commons/imaging/formats/pnm/PgmFileInfo.java

Violation Message Line
Errors Line is longer than 120 characters (found 123). 32
Errors '65535' is a magic number. 40
Errors '65535f' is a magic number. 41

src/main/java/org/apache/commons/imaging/formats/pnm/PgmWriter.java

Violation Message Line
Errors '0x50' is a magic number. 39
Errors '0x35' is a magic number. 40
Errors '0x32' is a magic number. 40

src/main/java/org/apache/commons/imaging/formats/pnm/PnmImageParser.java

Violation Message Line
Errors Variable access definition in wrong order. 50
Errors Variable access definition in wrong order. 51
Errors Variable access definition in wrong order. 52
Errors 'if' construct must use '{}'s. 159
Errors 'if' is not followed by whitespace. 159
Errors 'if' construct must use '{}'s. 164
Errors 'if' is not followed by whitespace. 164
Errors 'if' construct must use '{}'s. 169
Errors 'if' is not followed by whitespace. 169
Errors 'if' construct must use '{}'s. 174
Errors 'if' is not followed by whitespace. 174
Errors 'if' construct must use '{}'s. 179
Errors 'if' is not followed by whitespace. 179

src/main/java/org/apache/commons/imaging/formats/pnm/PpmFileInfo.java

Violation Message Line
Errors Line is longer than 120 characters (found 123). 32
Errors '65535' is a magic number. 39
Errors '65535f' is a magic number. 40

src/main/java/org/apache/commons/imaging/formats/pnm/PpmWriter.java

Violation Message Line
Errors '0x50' is a magic number. 39
Errors '0x36' is a magic number. 40
Errors '0x33' is a magic number. 40

src/main/java/org/apache/commons/imaging/formats/psd/ImageResourceType.java

Violation Message Line
Errors Line is longer than 120 characters (found 163). 22
Errors Line is longer than 120 characters (found 146). 36
Errors Line is longer than 120 characters (found 143). 66
Errors Line is longer than 120 characters (found 122). 70
Errors Line is longer than 120 characters (found 154). 99
Errors Line is longer than 120 characters (found 159). 100
Errors Line is longer than 120 characters (found 128). 112
Errors Line is longer than 120 characters (found 125). 113
Errors Instance variable definition in wrong order. 125
Errors Variable access definition in wrong order. 125
Errors Instance variable definition in wrong order. 126
Errors Variable access definition in wrong order. 126
Errors Instance variable definition in wrong order. 128
Errors Variable access definition in wrong order. 128
Errors Constructor definition in wrong order. 130
Errors Constructor definition in wrong order. 136

src/main/java/org/apache/commons/imaging/formats/psd/PsdHeaderInfo.java

Violation Message Line
Errors Variable access definition in wrong order. 26
Errors Variable access definition in wrong order. 27
Errors Variable access definition in wrong order. 28
Errors Variable access definition in wrong order. 29
Errors Variable access definition in wrong order. 30

src/main/java/org/apache/commons/imaging/formats/psd/PsdImageContents.java

Violation Message Line
Errors Name 'ColorModeDataLength' must match pattern '^[a-z][a-zA-Z0-9]*$'. 26
Errors Name 'ImageResourcesLength' must match pattern '^[a-z][a-zA-Z0-9]*$'. 27
Errors Name 'LayerAndMaskDataLength' must match pattern '^[a-z][a-zA-Z0-9]*$'. 28
Errors Name 'Compression' must match pattern '^[a-z][a-zA-Z0-9]*$'. 29
Errors Name 'ColorModeDataLength' must match pattern '^[a-z][a-zA-Z0-9]*$'. 33
Errors Name 'ImageResourcesLength' must match pattern '^[a-z][a-zA-Z0-9]*$'. 33
Errors Name 'LayerAndMaskDataLength' must match pattern '^[a-z][a-zA-Z0-9]*$'. 34
Errors Name 'Compression' must match pattern '^[a-z][a-zA-Z0-9]*$'. 34

src/main/java/org/apache/commons/imaging/formats/psd/PsdImageParser.java

Violation Message Line
Errors Variable access definition in wrong order. 66
Errors Variable access definition in wrong order. 67
Errors Variable access definition in wrong order. 68
Errors '56' is a magic number. 105
Errors '66' is a magic number. 105
Errors '80' is a magic number. 105
Errors '83' is a magic number. 105
Errors Name 'ColorModeDataLength' must match pattern '^[a-z][a-zA-Z0-9]*$'. 122
Errors Name 'ImageResourcesLength' must match pattern '^[a-z][a-zA-Z0-9]*$'. 129
Errors Name 'LayerAndMaskDataLength' must match pattern '^[a-z][a-zA-Z0-9]*$'. 136
Errors Name 'Compression' must match pattern '^[a-z][a-zA-Z0-9]*$'. 143
Errors Name 'ID' must match pattern '^[a-z][a-zA-Z0-9]*$'. 167
Errors '56' is a magic number. 187
Errors '66' is a magic number. 187
Errors '73' is a magic number. 187
Errors '77' is a magic number. 187
Errors Name 'ImageResources' must match pattern '^[a-z][a-zA-Z0-9]*$'. 245
Errors Line is longer than 120 characters (found 122). 269
Errors Line is longer than 120 characters (found 124). 279
Errors Line is longer than 120 characters (found 128). 289
Errors Name 'ColorModeDataLength' must match pattern '^[a-z][a-zA-Z0-9]*$'. 327
Errors Name 'ImageResourcesLength' must match pattern '^[a-z][a-zA-Z0-9]*$'. 339
Errors Name 'LayerAndMaskDataLength' must match pattern '^[a-z][a-zA-Z0-9]*$'. 351
Errors '7' is a magic number. 433
Errors '9' is a magic number. 437
Errors Name 'BitsPerPixel' must match pattern '^[a-z][a-zA-Z0-9]*$'. 466
Errors '9' is a magic number. 623
Errors Avoid nested blocks. 628
Errors Name 'ColorModeData' must match pattern '^[a-z][a-zA-Z0-9]*$'. 630
Errors '7' is a magic number. 641

src/main/java/org/apache/commons/imaging/formats/rgbe/RgbeInfo.java

Violation Message Line
Errors Static variable definition in wrong order. 44
Errors '32768' is a magic number. 135
Errors '0.5f' is a magic number. 162
Errors '0x7f' is a magic number. 182

src/main/java/org/apache/commons/imaging/formats/tga/TgaImageParser.java

Violation Message Line
Errors Line does not match expected header line of '/*'. 1

src/main/java/org/apache/commons/imaging/formats/tiff/TiffElement.java

Violation Message Line
Errors Static variable definition in wrong order. 24
Errors 'abstract' modifier out of order with the JLS suggestions. 48

src/main/java/org/apache/commons/imaging/formats/tiff/TiffField.java

Violation Message Line
Errors More than 7 parameters (found 8). 49
Errors Method length is 182 lines (max allowed is 150). 174
Errors '50' is a magic number. 193
Errors '50' is a magic number. 225
Errors '50' is a magic number. 242
Errors '50' is a magic number. 259
Errors '50' is a magic number. 276
Errors '50' is a magic number. 293
Errors '50' is a magic number. 310
Errors '50' is a magic number. 327
Errors '0xffff' is a magic number. 439

src/main/java/org/apache/commons/imaging/formats/tiff/TiffImageData.java

Violation Message Line
Errors More than 7 parameters (found 10). 55
Errors Variable access definition in wrong order. 95
Errors More than 7 parameters (found 10). 121
Errors More than 7 parameters (found 10). 139

src/main/java/org/apache/commons/imaging/formats/tiff/TiffImageMetadata.java

Violation Message Line
Errors More than 7 parameters (found 8). 499
Errors '60.0' is a magic number. 539
Errors '3600.0' is a magic number. 540
Errors '60.0' is a magic number. 554
Errors '3600.0' is a magic number. 555

src/main/java/org/apache/commons/imaging/formats/tiff/TiffImageParser.java

Violation Message Line
Errors Method length is 155 lines (max allowed is 150). 146
Errors '2.54' is a magic number. 184
Errors Unnecessary parentheses around assignment right-hand side. 204
Errors Unnecessary parentheses around assignment right-hand side. 210
Errors '0xffff' is a magic number. 262
Errors Avoid nested blocks. 333
Errors Avoid nested blocks. 345
Errors '>' is followed by an illegal character. 487
Errors '0xffff' is a magic number. 550
Errors '0xffff' is a magic number. 558
Errors Avoid nested blocks. 615
Errors More than 7 parameters (found 8). 659
Errors Avoid nested blocks. 672
Errors '5' is a magic number. 690
Errors '6' is a magic number. 693
Errors Avoid nested blocks. 694
Errors '32844' is a magic number. 719
Errors '32845' is a magic number. 720
Errors Avoid nested blocks. 720

src/main/java/org/apache/commons/imaging/formats/tiff/TiffReader.java

Violation Message Line
Errors '42' is a magic number. 84
Errors '0xFFFFffffL' is a magic number. 89
Errors '0xFFFFffffL' is a magic number. 156
Errors '0xFFFFffffL' is a magic number. 158
Errors '0xFFFFffffL' is a magic number. 207
Errors '&&' should be on a new line. 493
Errors '||' should be on a new line. 494

src/main/java/org/apache/commons/imaging/formats/tiff/TiffTags.java

Violation Message Line
Errors Static variable definition in wrong order. 52
Errors Static variable definition in wrong order. 53
Errors Static variable definition in wrong order. 54

src/main/java/org/apache/commons/imaging/formats/tiff/constants/AdobePhotoshopTagConstants.java

Violation Message Line
Errors 'static' modifier out of order with the JLS suggestions. 35
Errors 'static' modifier out of order with the JLS suggestions. 39
Errors 'static' modifier out of order with the JLS suggestions. 43
Errors '>' is followed by whitespace. 44

src/main/java/org/apache/commons/imaging/formats/tiff/constants/AliasSketchbookProTagConstants.java

Violation Message Line
Errors '>' is followed by whitespace. 38

src/main/java/org/apache/commons/imaging/formats/tiff/constants/DngTagConstants.java

Violation Message Line
Errors Name 'PREVIEW_COLORSPACE_VALUE_sRGB' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 379

src/main/java/org/apache/commons/imaging/formats/tiff/constants/GdalLibraryTagConstants.java

Violation Message Line
Errors '>' is followed by whitespace. 44

src/main/java/org/apache/commons/imaging/formats/tiff/constants/GpsTagConstants.java

Violation Message Line
Errors 'cast' is not followed by whitespace. 38
Errors 'cast' is not followed by whitespace. 38
Errors 'cast' is not followed by whitespace. 38
Errors 'cast' is not followed by whitespace. 38
Errors Static variable definition in wrong order. 45
Errors Variable access definition in wrong order. 45
Errors Static variable definition in wrong order. 49
Errors Variable access definition in wrong order. 49
Errors Static variable definition in wrong order. 50
Errors Variable access definition in wrong order. 50
Errors Static variable definition in wrong order. 52
Errors Variable access definition in wrong order. 52
Errors Static variable definition in wrong order. 57
Errors Variable access definition in wrong order. 57
Errors Static variable definition in wrong order. 61
Errors Variable access definition in wrong order. 61
Errors Static variable definition in wrong order. 62
Errors Variable access definition in wrong order. 62
Errors Static variable definition in wrong order. 64
Errors Variable access definition in wrong order. 64
Errors Static variable definition in wrong order. 69
Errors Variable access definition in wrong order. 69
Errors Static variable definition in wrong order. 73
Errors Variable access definition in wrong order. 73
Errors Static variable definition in wrong order. 74
Errors Variable access definition in wrong order. 74
Errors Static variable definition in wrong order. 76
Errors Variable access definition in wrong order. 76
Errors Static variable definition in wrong order. 81
Errors Variable access definition in wrong order. 81
Errors Static variable definition in wrong order. 86
Errors Variable access definition in wrong order. 86
Errors Static variable definition in wrong order. 91
Errors Variable access definition in wrong order. 91
Errors Static variable definition in wrong order. 95
Errors Variable access definition in wrong order. 95
Errors Static variable definition in wrong order. 96
Errors Variable access definition in wrong order. 96
Errors Static variable definition in wrong order. 98
Errors Variable access definition in wrong order. 98
Errors Static variable definition in wrong order. 102
Errors Variable access definition in wrong order. 102
Errors Static variable definition in wrong order. 103
Errors Variable access definition in wrong order. 103
Errors Static variable definition in wrong order. 105
Errors Variable access definition in wrong order. 105
Errors Static variable definition in wrong order. 110
Errors Variable access definition in wrong order. 110
Errors Static variable definition in wrong order. 114
Errors Variable access definition in wrong order. 114
Errors Static variable definition in wrong order. 115
Errors Variable access definition in wrong order. 115
Errors Static variable definition in wrong order. 116
Errors Variable access definition in wrong order. 116
Errors Static variable definition in wrong order. 118
Errors Variable access definition in wrong order. 118
Errors Static variable definition in wrong order. 123
Errors Variable access definition in wrong order. 123
Errors Static variable definition in wrong order. 127
Errors Variable access definition in wrong order. 127
Errors Static variable definition in wrong order. 128
Errors Variable access definition in wrong order. 128
Errors Static variable definition in wrong order. 130
Errors Variable access definition in wrong order. 130
Errors Static variable definition in wrong order. 135
Errors Variable access definition in wrong order. 135
Errors Static variable definition in wrong order. 139
Errors Variable access definition in wrong order. 139
Errors Static variable definition in wrong order. 140
Errors Variable access definition in wrong order. 140
Errors Static variable definition in wrong order. 142
Errors Variable access definition in wrong order. 142
Errors Static variable definition in wrong order. 147
Errors Variable access definition in wrong order. 147
Errors Static variable definition in wrong order. 152
Errors Variable access definition in wrong order. 152
Errors Static variable definition in wrong order. 156
Errors Variable access definition in wrong order. 156
Errors Static variable definition in wrong order. 157
Errors Variable access definition in wrong order. 157
Errors Static variable definition in wrong order. 159
Errors Variable access definition in wrong order. 159
Errors Static variable definition in wrong order. 164
Errors Variable access definition in wrong order. 164
Errors Static variable definition in wrong order. 168
Errors Variable access definition in wrong order. 168
Errors Static variable definition in wrong order. 169
Errors Variable access definition in wrong order. 169
Errors Static variable definition in wrong order. 171
Errors Variable access definition in wrong order. 171
Errors Static variable definition in wrong order. 176
Errors Variable access definition in wrong order. 176
Errors Static variable definition in wrong order. 180
Errors Variable access definition in wrong order. 180
Errors Static variable definition in wrong order. 181
Errors Variable access definition in wrong order. 181
Errors Static variable definition in wrong order. 183
Errors Variable access definition in wrong order. 183
Errors Static variable definition in wrong order. 188
Errors Variable access definition in wrong order. 188
Errors Static variable definition in wrong order. 192
Errors Variable access definition in wrong order. 192
Errors Static variable definition in wrong order. 193
Errors Variable access definition in wrong order. 193
Errors Static variable definition in wrong order. 194
Errors Variable access definition in wrong order. 194
Errors Static variable definition in wrong order. 196
Errors Variable access definition in wrong order. 196
Errors Static variable definition in wrong order. 201
Errors Variable access definition in wrong order. 201
Errors Static variable definition in wrong order. 206
Errors Variable access definition in wrong order. 206
Errors Static variable definition in wrong order. 211
Errors Variable access definition in wrong order. 211
Errors Static variable definition in wrong order. 216
Errors Variable access definition in wrong order. 216
Errors Static variable definition in wrong order. 220
Errors Variable access definition in wrong order. 220
Errors Static variable definition in wrong order. 221
Errors Variable access definition in wrong order. 221
Errors Static variable definition in wrong order. 224
Errors Variable access definition in wrong order. 224
Errors Constructor definition in wrong order. 242

src/main/java/org/apache/commons/imaging/formats/tiff/constants/MicrosoftHdPhotoTagConstants.java

Violation Message Line
Errors '0x24' is a magic number. 250
Errors '0xC3' is a magic number. 250
Errors '0xDD' is a magic number. 251
Errors '0x6F' is a magic number. 251
Errors '0x4E' is a magic number. 251
Errors '0xFE' is a magic number. 252
Errors '0x4B' is a magic number. 252
Errors '0xB1' is a magic number. 252
Errors '0x85' is a magic number. 252
Errors '0x3D' is a magic number. 253
Errors '0x77' is a magic number. 253
Errors '0x76' is a magic number. 253
Errors '0x8D' is a magic number. 253
Errors '0xC9' is a magic number. 254
Errors Constructor definition in wrong order. 257

src/main/java/org/apache/commons/imaging/formats/tiff/constants/OceScanjobTagConstants.java

Violation Message Line
Errors '>' is followed by whitespace. 50

src/main/java/org/apache/commons/imaging/formats/tiff/constants/Tiff4TagConstants.java

Violation Message Line
Errors '>' is followed by whitespace. 43

src/main/java/org/apache/commons/imaging/formats/tiff/constants/TiffDirectoryType.java

Violation Message Line
Errors Variable access definition in wrong order. 42
Errors Variable access definition in wrong order. 43
Errors Static variable definition in wrong order. 65
Errors Variable access definition in wrong order. 65
Errors Static variable definition in wrong order. 66
Errors Variable access definition in wrong order. 66
Errors Static variable definition in wrong order. 67
Errors Variable access definition in wrong order. 67
Errors Static variable definition in wrong order. 68
Errors Variable access definition in wrong order. 68
Errors Static variable definition in wrong order. 69
Errors Variable access definition in wrong order. 69
Errors Static variable definition in wrong order. 70
Errors Variable access definition in wrong order. 70
Errors Static variable definition in wrong order. 71
Errors Variable access definition in wrong order. 71
Errors Static variable definition in wrong order. 72
Errors Variable access definition in wrong order. 72
Errors Static variable definition in wrong order. 73
Errors Variable access definition in wrong order. 73

src/main/java/org/apache/commons/imaging/formats/tiff/constants/WangTagConstants.java

Violation Message Line
Errors '>' is followed by whitespace. 37
Errors ')' is preceded with whitespace. 38

src/main/java/org/apache/commons/imaging/formats/tiff/datareaders/BitInputStream.java

Violation Message Line
Errors '7' is a magic number. 71
Errors '15' is a magic number. 73
Errors '5' is a magic number. 74
Errors '31' is a magic number. 75
Errors '6' is a magic number. 76
Errors '63' is a magic number. 77
Errors '7' is a magic number. 78
Errors '127' is a magic number. 79
Errors Unnecessary parentheses around return value. 116
Errors Unnecessary parentheses around return value. 121
Errors Unnecessary parentheses around return value. 126

src/main/java/org/apache/commons/imaging/formats/tiff/datareaders/DataReaderStrips.java

Violation Message Line
Errors More than 7 parameters (found 12). 42
Errors '0xff000000' is a magic number. 142
Errors '0xFFFFffffL' is a magic number. 201
Errors '7' is a magic number. 204
Errors '0xFFFFffffL' is a magic number. 256
Errors '7' is a magic number. 259

src/main/java/org/apache/commons/imaging/formats/tiff/datareaders/DataReaderTiled.java

Violation Message Line
Errors More than 7 parameters (found 13). 45
Errors Line is longer than 120 characters (found 124). 64
Errors '0xff000000' is a magic number. 94
Errors '7' is a magic number. 160
Errors '7' is a magic number. 190

src/main/java/org/apache/commons/imaging/formats/tiff/datareaders/ImageDataReader.java

Violation Message Line
Errors Variable access definition in wrong order. 52
Errors Variable access definition in wrong order. 55
Errors Variable access definition in wrong order. 56
Errors Variable access definition in wrong order. 57
Errors Variable access definition in wrong order. 58
Errors Avoid nested blocks. 169
Errors Avoid nested blocks. 189
Errors Avoid nested blocks. 204
Errors Avoid nested blocks. 218

src/main/java/org/apache/commons/imaging/formats/tiff/fieldtypes/FieldType.java

Violation Message Line
Errors Static variable definition in wrong order. 50
Errors Variable access definition in wrong order. 50
Errors Static variable definition in wrong order. 58
Errors Variable access definition in wrong order. 58
Errors Static variable definition in wrong order. 62
Errors Variable access definition in wrong order. 62
Errors Static variable definition in wrong order. 66
Errors Variable access definition in wrong order. 66
Errors Static variable definition in wrong order. 70
Errors Variable access definition in wrong order. 70
Errors Static variable definition in wrong order. 74
Errors Variable access definition in wrong order. 74
Errors Static variable definition in wrong order. 78
Errors Variable access definition in wrong order. 78
Errors Static variable definition in wrong order. 82
Errors Variable access definition in wrong order. 82
Errors Static variable definition in wrong order. 86
Errors Variable access definition in wrong order. 86

src/main/java/org/apache/commons/imaging/formats/tiff/fieldtypes/FieldTypeAscii.java

Violation Message Line
Errors Must have at least one statement. 54
Errors Must have at least one statement. 65
Errors Unnecessary parentheses around assignment right-hand side. 103
Errors Unnecessary parentheses around assignment right-hand side. 115

src/main/java/org/apache/commons/imaging/formats/tiff/photometricinterpreters/PhotometricInterpreter.java

Violation Message Line
Errors Variable access definition in wrong order. 27
Errors Variable access definition in wrong order. 28
Errors Variable access definition in wrong order. 29

src/main/java/org/apache/commons/imaging/formats/tiff/photometricinterpreters/PhotometricInterpreterLogLuv.java

Violation Message Line
Errors Each variable declaration must be in its own statement. 43
Errors Name 'X' must match pattern '^[a-z][a-zA-Z0-9]*$'. 43
Errors Name 'Y' must match pattern '^[a-z][a-zA-Z0-9]*$'. 43
Errors Name 'Z' must match pattern '^[a-z][a-zA-Z0-9]*$'. 43
Errors Avoid nested blocks. 49
Errors Name 'var_Y' must match pattern '^[a-z][a-zA-Z0-9]*$'. 51
Errors '100.0f' is a magic number. 51
Errors '116.0f' is a magic number. 51
Errors Name 'var_X' must match pattern '^[a-z][a-zA-Z0-9]*$'. 52
Errors '500.0f' is a magic number. 52
Errors Name 'var_Z' must match pattern '^[a-z][a-zA-Z0-9]*$'. 53
Errors '200.0f' is a magic number. 53
Errors Name 'var_x_cube' must match pattern '^[a-z][a-zA-Z0-9]*$'. 55
Errors Name 'var_y_cube' must match pattern '^[a-z][a-zA-Z0-9]*$'. 56
Errors Name 'var_z_cube' must match pattern '^[a-z][a-zA-Z0-9]*$'. 57
Errors '0.008856f' is a magic number. 59
Errors '116.0f' is a magic number. 62
Errors '7.787f' is a magic number. 62
Errors '0.008856f' is a magic number. 65
Errors '116.0f' is a magic number. 68
Errors '7.787f' is a magic number. 68
Errors '0.008856f' is a magic number. 71
Errors '116.0f' is a magic number. 74
Errors '7.787f' is a magic number. 74
Errors Name 'ref_X' must match pattern '^[a-z][a-zA-Z0-9]*$'. 77
Errors Name 'ref_Y' must match pattern '^[a-z][a-zA-Z0-9]*$'. 78
Errors Name 'ref_Z' must match pattern '^[a-z][a-zA-Z0-9]*$'. 79
Errors Each variable declaration must be in its own statement. 91
Errors Name 'R' must match pattern '^[a-z][a-zA-Z0-9]*$'. 91
Errors Name 'G' must match pattern '^[a-z][a-zA-Z0-9]*$'. 91
Errors Name 'B' must match pattern '^[a-z][a-zA-Z0-9]*$'. 91
Errors Avoid nested blocks. 92
Errors Name 'var_X' must match pattern '^[a-z][a-zA-Z0-9]*$'. 93
Errors '100f' is a magic number. 93
Errors Name 'var_Y' must match pattern '^[a-z][a-zA-Z0-9]*$'. 94
Errors '100f' is a magic number. 94
Errors Name 'var_Z' must match pattern '^[a-z][a-zA-Z0-9]*$'. 95
Errors '100f' is a magic number. 95
Errors Name 'var_R' must match pattern '^[a-z][a-zA-Z0-9]*$'. 97
Errors '3.2406f' is a magic number. 97
Errors '-1.5372f' is a magic number. 97
Errors '-0.4986f' is a magic number. 97
Errors Name 'var_G' must match pattern '^[a-z][a-zA-Z0-9]*$'. 98
Errors '-0.9689f' is a magic number. 98
Errors '1.8758f' is a magic number. 98
Errors '0.0415f' is a magic number. 98
Errors Name 'var_B' must match pattern '^[a-z][a-zA-Z0-9]*$'. 99
Errors '0.0557f' is a magic number. 99
Errors '-0.2040f' is a magic number. 99
Errors '1.0570f' is a magic number. 99
Errors '0.0031308' is a magic number. 101
Errors '1.055f' is a magic number. 102
Errors Unnecessary parentheses around assignment right-hand side. 102
Errors '2.4' is a magic number. 102
Errors '0.055f' is a magic number. 102
Errors '12.92f' is a magic number. 104
Errors '0.0031308' is a magic number. 106
Errors '1.055f' is a magic number. 107
Errors Unnecessary parentheses around assignment right-hand side. 107
Errors '2.4' is a magic number. 107
Errors '0.055f' is a magic number. 107
Errors '12.92f' is a magic number. 109
Errors '0.0031308' is a magic number. 112
Errors '1.055f' is a magic number. 113
Errors Unnecessary parentheses around assignment right-hand side. 113
Errors '2.4' is a magic number. 113
Errors '0.055f' is a magic number. 113
Errors '12.92f' is a magic number. 115

src/main/java/org/apache/commons/imaging/formats/tiff/photometricinterpreters/PhotometricInterpreterPalette.java

Violation Message Line
Errors Unnecessary parentheses around assignment right-hand side. 38
Errors Unnecessary parentheses around identifier 'colormapScale'. 42
Errors '0xff000000' is a magic number. 44

src/main/java/org/apache/commons/imaging/formats/tiff/photometricinterpreters/PhotometricInterpreterYCbCr.java

Violation Message Line
Errors Name 'Y' must match pattern '^[a-z][a-zA-Z0-9]*$'. 53
Errors Name 'Cb' must match pattern '^[a-z][a-zA-Z0-9]*$'. 53
Errors Name 'Cr' must match pattern '^[a-z][a-zA-Z0-9]*$'. 53
Errors Unnecessary parentheses around assignment right-hand side. 54
Errors '1.164' is a magic number. 54
Errors '1.596' is a magic number. 54
Errors Unnecessary parentheses around assignment right-hand side. 55
Errors '1.164' is a magic number. 55
Errors '0.813' is a magic number. 55
Errors '0.392' is a magic number. 55
Errors Unnecessary parentheses around assignment right-hand side. 56
Errors '1.164' is a magic number. 56
Errors '2.017' is a magic number. 56
Errors Name 'Y' must match pattern '^[a-z][a-zA-Z0-9]*$'. 70
Errors Name 'Cb' must match pattern '^[a-z][a-zA-Z0-9]*$'. 71
Errors Name 'Cr' must match pattern '^[a-z][a-zA-Z0-9]*$'. 72
Errors Name 'R' must match pattern '^[a-z][a-zA-Z0-9]*$'. 73
Errors '1.402' is a magic number. 73
Errors Name 'G' must match pattern '^[a-z][a-zA-Z0-9]*$'. 74
Errors '0.34414' is a magic number. 74
Errors '0.71414' is a magic number. 74
Errors Name 'B' must match pattern '^[a-z][a-zA-Z0-9]*$'. 75
Errors '1.772' is a magic number. 75

src/main/java/org/apache/commons/imaging/formats/tiff/taginfos/TagInfoAscii.java

Violation Message Line
Errors Must have at least one statement. 52
Errors Must have at least one statement. 63

src/main/java/org/apache/commons/imaging/formats/tiff/taginfos/TagInfoByteOrShort.java

Violation Message Line
Errors Line is longer than 120 characters (found 122). 26

src/main/java/org/apache/commons/imaging/formats/tiff/taginfos/TagInfoGpsText.java

Violation Message Line
Errors Variable access definition in wrong order. 73
Errors Must have at least one statement. 136
Errors Must have at least one statement. 138

src/main/java/org/apache/commons/imaging/formats/tiff/taginfos/TagInfoLong.java

Violation Message Line
Errors Line is longer than 120 characters (found 121). 31

src/main/java/org/apache/commons/imaging/formats/tiff/taginfos/TagInfoLongOrIFD.java

Violation Message Line
Errors Line is longer than 120 characters (found 144). 31

src/main/java/org/apache/commons/imaging/formats/tiff/taginfos/TagInfoLongs.java

Violation Message Line
Errors Line is longer than 120 characters (found 140). 30

src/main/java/org/apache/commons/imaging/formats/tiff/taginfos/TagInfoSRationals.java

Violation Message Line
Errors Line is longer than 120 characters (found 121). 27

src/main/java/org/apache/commons/imaging/formats/tiff/taginfos/TagInfoShortOrLong.java

Violation Message Line
Errors Line is longer than 120 characters (found 122). 26
Errors Line is longer than 120 characters (found 146). 30

src/main/java/org/apache/commons/imaging/formats/tiff/taginfos/TagInfoShortOrLongOrRational.java

Violation Message Line
Errors Line is longer than 120 characters (found 132). 27

src/main/java/org/apache/commons/imaging/formats/tiff/taginfos/TagInfoShortOrRational.java

Violation Message Line
Errors Line is longer than 120 characters (found 126). 27

src/main/java/org/apache/commons/imaging/formats/tiff/taginfos/TagInfoUndefineds.java

Violation Message Line
Errors File does not end with a newline. 0
Errors Line is longer than 120 characters (found 121). 23

src/main/java/org/apache/commons/imaging/formats/tiff/write/TiffImageWriterBase.java

Violation Message Line
Errors Method length is 179 lines (max allowed is 150). 65
Errors Method length is 252 lines (max allowed is 150). 246
Errors '72' is a magic number. 270
Errors '72' is a magic number. 270
Errors '64000' is a magic number. 277
Errors '8000' is a magic number. 297
Errors '*' is not preceded with whitespace. 302
Errors '*' is not followed by whitespace. 302
Errors '7' is a magic number. 345
Errors '0x7' is a magic number. 352
Errors '7' is a magic number. 363
Errors '7' is a magic number. 367
Errors '7' is a magic number. 384
Errors Name 'LZW_MINIMUM_CODE_SIZE' must match pattern '^[a-z][a-zA-Z0-9]*$'. 394
Errors Must have at least one statement. 402
Errors Line is longer than 120 characters (found 128). 406
Errors Avoid nested blocks. 419
Errors Avoid nested blocks. 528
Errors '7' is a magic number. 538
Errors '127' is a magic number. 558
Errors Unnecessary parentheses around assignment right-hand side. 578
Errors '42' is a magic number. 608

src/main/java/org/apache/commons/imaging/formats/tiff/write/TiffImageWriterLossless.java

Violation Message Line
Errors Static variable definition in wrong order. 50
Errors Static variable definition in wrong order. 56
Errors Line is longer than 120 characters (found 122). 72
Errors Name 'TOLERANCE' must match pattern '^[a-z][a-zA-Z0-9]*$'. 116
Errors 'cast' is not followed by whitespace. 312
Errors 'cast' is not followed by whitespace. 313
Errors 'cast' is not followed by whitespace. 313

src/main/java/org/apache/commons/imaging/formats/tiff/write/TiffOutputDirectory.java

Violation Message Line
Errors Static variable definition in wrong order. 77
Errors Variable access definition in wrong order. 77
Errors Constructor definition in wrong order. 96

src/main/java/org/apache/commons/imaging/formats/tiff/write/TiffOutputField.java

Violation Message Line
Errors Static variable definition in wrong order. 38

src/main/java/org/apache/commons/imaging/formats/tiff/write/TiffOutputSet.java

Violation Message Line
Errors Static variable definition in wrong order. 35
Errors Avoid nested blocks. 157
Errors '60.0' is a magic number. 161
Errors '60.0' is a magic number. 164
Errors Avoid nested blocks. 174
Errors '60.0' is a magic number. 178
Errors '60.0' is a magic number. 181

src/main/java/org/apache/commons/imaging/formats/wbmp/WbmpImageParser.java

Violation Message Line
Errors Line does not match expected header line of ' * Licensed to the Apache Software Foundation (ASF) under one or more'. 2
Errors '7' is a magic number. 134
Errors '0x7f' is a magic number. 135
Errors '7' is a magic number. 136
Errors '31' is a magic number. 137
Errors '7' is a magic number. 148
Errors '7' is a magic number. 148
Errors '0x7f' is a magic number. 149
Errors '0x7f' is a magic number. 155
Errors '0x9f' is a magic number. 176
Errors '7' is a magic number. 198
Errors '127' is a magic number. 251

src/main/java/org/apache/commons/imaging/formats/xbm/XbmImageParser.java

Violation Message Line
Errors Line does not match expected header line of ' * Licensed to the Apache Software Foundation (ASF) under one or more'. 2
Errors '7' is a magic number. 238
Errors Unnecessary parentheses around assignment right-hand side. 254
Errors '0xffffff' is a magic number. 271
Errors '127' is a magic number. 349
Errors Unnecessary parentheses around assignment right-hand side. 354
Errors '12' is a magic number. 359
Errors '12' is a magic number. 372

src/main/java/org/apache/commons/imaging/formats/xpm/XpmImageParser.java

Violation Message Line
Errors Line does not match expected header line of ' * Licensed to the Apache Software Foundation (ASF) under one or more'. 2
Errors '7' is a magic number. 91
Errors '11' is a magic number. 92
Errors '11' is a magic number. 93
Errors '0xff000000' is a magic number. 94
Errors '0xff000000' is a magic number. 143
Errors '0xff000000' is a magic number. 143
Errors Variable 'haveColor' explicitly initialized to 'false' (default value for its type). 211
Errors Variable 'haveGray' explicitly initialized to 'false' (default value for its type). 213
Errors Variable 'haveGray4Level' explicitly initialized to 'false' (default value for its type). 215
Errors Variable 'haveMono' explicitly initialized to 'false' (default value for its type). 217
Errors '7' is a magic number. 290
Errors '6' is a magic number. 302
Errors '5' is a magic number. 304
Errors '5' is a magic number. 306
Errors '7' is a magic number. 306
Errors '0xff000000' is a magic number. 329
Errors '20' is a magic number. 329
Errors '12' is a magic number. 329
Errors '6' is a magic number. 330
Errors '0xff000000' is a magic number. 331
Errors '9' is a magic number. 332
Errors '0xff000000' is a magic number. 336
Errors '12' is a magic number. 337
Errors '0xff000000' is a magic number. 341
Errors Line is longer than 120 characters (found 136). 359
Errors '0x00ff0000' is a magic number. 531
Errors '0x0000ff00' is a magic number. 531
Errors '0xff000000' is a magic number. 532
Errors '0x00ff0000' is a magic number. 534
Errors '0x0000ff00' is a magic number. 535
Errors '0xff000000' is a magic number. 535
Errors Unnecessary parentheses around assignment right-hand side. 619
Errors '6' is a magic number. 628
Errors '6' is a magic number. 629
Errors '0xff000000' is a magic number. 701
Errors '0xffffff' is a magic number. 705

src/main/java/org/apache/commons/imaging/icc/IccConstants.java

Violation Message Line
Errors Unnecessary parentheses around assignment right-hand side. 20
Errors Name 'sRGB' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 22
Errors Unnecessary parentheses around assignment right-hand side. 22

src/main/java/org/apache/commons/imaging/icc/IccProfileInfo.java

Violation Message Line
Errors Variable access definition in wrong order. 28
Errors Variable access definition in wrong order. 29
Errors Variable access definition in wrong order. 30
Errors Variable access definition in wrong order. 31
Errors Variable access definition in wrong order. 32
Errors Variable access definition in wrong order. 33
Errors Variable access definition in wrong order. 34
Errors Variable access definition in wrong order. 35
Errors Variable access definition in wrong order. 36
Errors Variable access definition in wrong order. 37
Errors Variable access definition in wrong order. 38
Errors Variable access definition in wrong order. 39
Errors Variable access definition in wrong order. 40
Errors More than 7 parameters (found 16). 44

src/main/java/org/apache/commons/imaging/icc/IccProfileParser.java

Violation Message Line
Errors Method length is 168 lines (max allowed is 150). 110
Errors Line is longer than 120 characters (found 131). 155
Errors '12' is a magic number. 160
Errors Line is longer than 120 characters (found 127). 162
Errors Line is longer than 120 characters (found 135). 167
Errors Line is longer than 120 characters (found 123). 177
Errors '12' is a magic number. 194
Errors Line is longer than 120 characters (found 133). 196
Errors '28' is a magic number. 209
Errors Line is longer than 120 characters (found 126). 219
Errors Line is longer than 120 characters (found 126). 224
Errors Line is longer than 120 characters (found 124). 225
Errors Avoid nested blocks. 247
Errors Must have at least one statement. 249
Errors '5' is a magic number. 319
Errors '12' is a magic number. 321
Errors Line is longer than 120 characters (found 125). 325

src/main/java/org/apache/commons/imaging/icc/IccTagDataTypes.java

Violation Message Line
Errors Unnecessary parentheses around literal '0x6D6C7563'. 64
Errors Unnecessary parentheses around literal '0x73696720'. 77
Errors Line is longer than 120 characters (found 121). 85

src/main/java/org/apache/commons/imaging/icc/IccTagTypes.java

Violation Message Line
Errors Line is longer than 120 characters (found 199). 22
Errors Line is longer than 120 characters (found 124). 29
Errors Line is longer than 120 characters (found 124). 35
Errors Line is longer than 120 characters (found 124). 41
Errors Line is longer than 120 characters (found 121). 76
Errors Line is longer than 120 characters (found 125). 77
Errors Line is longer than 120 characters (found 122). 84
Errors Line is longer than 120 characters (found 122). 85
Errors Line is longer than 120 characters (found 123). 88
Errors Line is longer than 120 characters (found 122). 89
Errors Line is longer than 120 characters (found 123). 93
Errors Line is longer than 120 characters (found 122). 95
Errors Line is longer than 120 characters (found 129). 97
Errors Line is longer than 120 characters (found 121). 108
Errors Line is longer than 120 characters (found 121). 161
Errors Line is longer than 120 characters (found 122). 168
Errors Line is longer than 120 characters (found 121). 169
Errors Line is longer than 120 characters (found 123). 210
Errors Line is longer than 120 characters (found 122). 217
Errors Line is longer than 120 characters (found 121). 220
Errors Line is longer than 120 characters (found 121). 239
Errors Line is longer than 120 characters (found 123). 272
Errors Line is longer than 120 characters (found 126). 273
Errors Line is longer than 120 characters (found 125). 306

src/main/java/org/apache/commons/imaging/palette/ColorSpaceSubset.java

Violation Message Line
Errors Static variable definition in wrong order. 31
Errors Variable access definition in wrong order. 31
Errors Unnecessary parentheses around assignment right-hand side. 59
Errors Unnecessary parentheses around assignment right-hand side. 67
Errors Unnecessary parentheses around assignment right-hand side. 75

src/main/java/org/apache/commons/imaging/palette/Dithering.java

Violation Message Line
Errors Line is longer than 120 characters (found 130). 39
Errors '7' is a magic number. 63
Errors '5' is a magic number. 71
Errors Line is longer than 120 characters (found 131). 83

src/main/java/org/apache/commons/imaging/palette/MedianCutQuantizer.java

Violation Message Line
Errors '0xffffff' is a magic number. 49
Errors '0xff000000' is a magic number. 104

src/main/java/org/apache/commons/imaging/palette/PaletteFactory.java

Violation Message Line
Errors Variable access definition in wrong order. 36
Errors '0x1fffff' is a magic number. 56
Errors '0x7' is a magic number. 57
Errors '21' is a magic number. 57
Errors '7' is a magic number. 83
Errors '21' is a magic number. 83
Errors Unnecessary parentheses around assignment right-hand side. 102
Errors Unnecessary parentheses around assignment right-hand side. 114
Errors Unnecessary parentheses around assignment right-hand side. 116
Errors Name 'dst_a' must match pattern '^[a-z][a-zA-Z0-9]*$'. 258
Errors Name 'dst_b' must match pattern '^[a-z][a-zA-Z0-9]*$'. 259
Errors Name 'dst_a' must match pattern '^[a-z][a-zA-Z0-9]*$'. 261
Errors Name 'dst_b' must match pattern '^[a-z][a-zA-Z0-9]*$'. 261
Errors Line is longer than 120 characters (found 139). 391
Errors Line is longer than 120 characters (found 128). 401
Errors '0xffffff' is a magic number. 413

src/main/java/org/apache/commons/imaging/palette/QuantizedPalette.java

Violation Message Line
Errors Unnecessary parentheses around identifier 'precisionMask'. 56

src/main/java/org/apache/commons/imaging/util/Debug.java

Violation Message Line
Errors '10' is a magic number. 81
Errors '11' is a magic number. 81
Errors '13' is a magic number. 81
Errors Constructor definition in wrong order. 306