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
660 0 0 1611

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 19
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 3
src/main/java/org/apache/commons/imaging/formats/jpeg/iptc/JpegIptcRewriter.java 0 0 1
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/ImageContents.java 0 0 8
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/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 21
src/main/java/org/apache/commons/imaging/formats/tiff/TiffReader.java 0 0 8
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/DataReader.java 0 0 10
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/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/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/write/TiffImageWriterBase.java 0 0 22
src/main/java/org/apache/commons/imaging/formats/tiff/write/TiffImageWriterLossless.java 0 0 6
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
src/main/java/org/apache/commons/imaging/util/IoUtils.java 0 0 1

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. 45
Errors '-127' is a magic number. 54
Errors '-128' is a magic number. 65
Errors Must have at least one statement. 101

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. 32
Errors Variable access definition in wrong order. 33
Errors Name 'compressT4_1D' must match pattern '^[a-z][a-zA-Z0-9]*$'. 178
Errors Name 'decompressT4_1D' must match pattern '^[a-z][a-zA-Z0-9]*$'. 218
Errors Name 'compressT4_2D' must match pattern '^[a-z][a-zA-Z0-9]*$'. 263
Errors '-3' is a magic number. 299
Errors '-3' is a magic number. 301
Errors '-2' is a magic number. 303
Errors Name 'decompressT4_2D' must match pattern '^[a-z][a-zA-Z0-9]*$'. 381
Errors '-2' is a magic number. 422
Errors '-3' is a magic number. 424
Errors '-3' is a magic number. 506
Errors '-3' is a magic number. 508
Errors '-2' is a magic number. 510
Errors '-2' is a magic number. 611
Errors '-3' is a magic number. 613
Errors '1792' is a magic number. 678
Errors '63' is a magic number. 723
Errors Must have at least one statement. 740

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. 95
Errors '40' is a magic number. 130
Errors '52' is a magic number. 142
Errors '56' is a magic number. 149
Errors '108' is a magic number. 155
Errors '124' is a magic number. 171
Errors '52' is a magic number. 199
Errors '56' is a magic number. 204
Errors '108' is a magic number. 207
Errors '124' is a magic number. 222
Errors Avoid nested blocks. 260
Errors Avoid nested blocks. 270
Errors Method length is 172 lines (max allowed is 150). 297
Errors Unnecessary parentheses around assignment right-hand side. 304
Errors '7' is a magic number. 394
Errors '40' is a magic number. 415
Errors Line is longer than 120 characters (found 141). 524
Errors '0x42' is a magic number. 762
Errors '0x4d' is a magic number. 763

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. 136
Errors Unnecessary parentheses around assignment right-hand side. 156
Errors '1023' is a magic number. 251

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. 57
Errors 'static' modifier out of order with the JLS suggestions. 58
Errors 'static' modifier out of order with the JLS suggestions. 59
Errors '0xf9' is a magic number. 59
Errors 'static' modifier out of order with the JLS suggestions. 60
Errors 'static' modifier out of order with the JLS suggestions. 61
Errors 'static' modifier out of order with the JLS suggestions. 62
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 '7' is a magic number. 67
Errors '6' is a magic number. 68
Errors '5' is a magic number. 69
Errors ',' is not followed by whitespace. 122
Errors '56' is a magic number. 123
Errors '55' is a magic number. 125
Errors '57' is a magic number. 125
Errors '97' is a magic number. 126
Errors Unnecessary parentheses around expression. 130
Errors Unnecessary parentheses around expression. 133
Errors Unnecessary parentheses around assignment right-hand side. 157
Errors '7' is a magic number. 161
Errors Unnecessary parentheses around assignment right-hand side. 165
Errors '7' is a magic number. 169
Errors '0x1c' is a magic number. 196
Errors Avoid nested blocks. 260
Errors '0xf9' is a magic number. 266
Errors Avoid nested blocks. 273
Errors Avoid nested blocks. 282
Errors Avoid nested blocks. 305
Errors Unnecessary parentheses around assignment right-hand side. 354
Errors '7' is a magic number. 354
Errors Unnecessary parentheses around assignment right-hand side. 358
Errors '6' is a magic number. 358
Errors Unnecessary parentheses around assignment right-hand side. 362
Errors '5' is a magic number. 362
Errors '7' is a magic number. 367
Errors Name 'LZWMinimumCodeSize' must match pattern '^[a-z][a-zA-Z0-9]*$'. 390
Errors Unnecessary parentheses around assignment right-hand side. 549
Errors '7' is a magic number. 695
Errors Unnecessary parentheses around identifier 'height'. 698
Errors Unnecessary parentheses around identifier 'rowsInPass2'. 708
Errors Unnecessary parentheses around identifier 'rowsInPass3'. 712
Errors Unnecessary parentheses around identifier 'rowsInPass4'. 716
Errors Method length is 235 lines (max allowed is 150). 757
Errors '0x47' is a magic number. 812
Errors '0x49' is a magic number. 813
Errors '0x46' is a magic number. 814
Errors '0x38' is a magic number. 816
Errors '0x39' is a magic number. 817
Errors '0x61' is a magic number. 818
Errors '7' is a magic number. 825
Errors '6' is a magic number. 826
Errors '5' is a magic number. 826
Errors Avoid nested blocks. 832
Errors '7' is a magic number. 834
Errors Avoid nested blocks. 837
Errors Avoid nested blocks. 841
Errors Avoid nested blocks. 851
Errors '0xf9' is a magic number. 853
Errors Avoid nested blocks. 887
Errors Avoid nested blocks. 894
Errors Unnecessary parentheses around assignment right-hand side. 905
Errors '7' is a magic number. 908
Errors Unnecessary parentheses around assignment right-hand side. 910
Errors '7' is a magic number. 913
Errors Avoid nested blocks. 919
Errors Avoid nested blocks. 939
Errors '0xffffff' is a magic number. 963
Errors Name 'GIF_MAGIC_TRAILER' must match pattern '^[a-z][a-zA-Z0-9]*$'. 1042

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. 308
Errors '48' is a magic number. 308

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). 157
Errors More than 7 parameters (found 11). 221
Errors 'abstract' modifier out of order with the JLS suggestions. 256
Errors Method length is 204 lines (max allowed is 150). 320
Errors '40' is a magic number. 405
Errors '0x00ff0000' is a magic number. 416
Errors '0x0000ff00' is a magic number. 417
Errors '0xff000000' is a magic number. 419
Errors '14' is a magic number. 426
Errors '56' is a magic number. 426
Errors '14' is a magic number. 428
Errors '56' is a magic number. 428
Errors '56' is a magic number. 443
Errors Name 't_scanline_size' must match pattern '^[a-z][a-zA-Z0-9]*$'. 475
Errors '7' is a magic number. 475
Errors '0xff000000' is a magic number. 496
Errors '7' is a magic number. 513
Errors '0xffffff' is a magic number. 517
Errors Method length is 177 lines (max allowed is 150). 640
Errors Name 'scanline_size' must match pattern '^[a-z][a-zA-Z0-9]*$'. 679
Errors '7' is a magic number. 679
Errors Name 't_scanline_size' must match pattern '^[a-z][a-zA-Z0-9]*$'. 684
Errors '7' is a magic number. 684
Errors '40' is a magic number. 689
Errors '22' is a magic number. 712
Errors '40' is a magic number. 715
Errors Line is longer than 120 characters (found 131). 722
Errors Line is longer than 120 characters (found 131). 723
Errors '7' is a magic number. 746
Errors '0xffffff' is a magic number. 751
Errors '0xffffff' is a magic number. 762
Errors Unnecessary parentheses around assignment right-hand side. 778
Errors Name 't_row_padding' must match pattern '^[a-z][a-zA-Z0-9]*$'. 789
Errors '7' is a magic number. 789
Errors Unnecessary parentheses around assignment right-hand side. 807

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 311 lines (max allowed is 150). 649
Errors Name 'SOF_segments' must match pattern '^[a-z][a-zA-Z0-9]*$'. 654
Errors Line is longer than 120 characters (found 121). 701
Errors '2.54' is a magic number. 734
Errors Avoid nested blocks. 744
Errors Avoid nested blocks. 751
Errors Avoid nested blocks. 758
Errors '2.54' is a magic number. 771
Errors Must have at least one statement. 805
Errors Avoid nested blocks. 1137
Errors Avoid nested blocks. 1148

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. 140
Errors '6' is a magic number. 141
Errors '5' is a magic number. 142
Errors '5' is a magic number. 145
Errors '6' is a magic number. 146
Errors '7' is a magic number. 147
Errors Name 'neg_a41' must match pattern '^[a-z][a-zA-Z0-9]*$'. 155
Errors '6' is a magic number. 173
Errors '5' is a magic number. 174
Errors '7' is a magic number. 176
Errors Each variable declaration must be in its own statement. 181
Errors Each variable declaration must be in its own statement. 182
Errors Name 'neg_a41' must match pattern '^[a-z][a-zA-Z0-9]*$'. 182
Errors Each variable declaration must be in its own statement. 183
Errors Each variable declaration must be in its own statement. 184
Errors '7' is a magic number. 187
Errors '6' is a magic number. 188
Errors '5' is a magic number. 189
Errors '5' is a magic number. 192
Errors '6' is a magic number. 193
Errors '7' is a magic number. 194
Errors '6' is a magic number. 213
Errors '5' is a magic number. 214
Errors '7' is a magic number. 216
Errors '56' is a magic number. 221
Errors '48' is a magic number. 222
Errors '40' is a magic number. 223
Errors '40' is a magic number. 226
Errors '48' is a magic number. 227
Errors '56' is a magic number. 228
Errors '48' is a magic number. 247
Errors '40' is a magic number. 248
Errors '56' is a magic number. 250
Errors '6' is a magic number. 263
Errors '6' is a magic number. 264
Errors '5' is a magic number. 265
Errors '7' is a magic number. 266
Errors '5' is a magic number. 267
Errors '7' is a magic number. 269
Errors Name 'neg_b4' must match pattern '^[a-z][a-zA-Z0-9]*$'. 276
Errors Name 'neg_n5' must match pattern '^[a-z][a-zA-Z0-9]*$'. 287
Errors Name 'neg_m7' must match pattern '^[a-z][a-zA-Z0-9]*$'. 295
Errors '5' is a magic number. 303
Errors '6' is a magic number. 304
Errors '7' is a magic number. 305
Errors Each variable declaration must be in its own statement. 309
Errors Each variable declaration must be in its own statement. 310
Errors Name 'neg_b4' must match pattern '^[a-z][a-zA-Z0-9]*$'. 310
Errors Each variable declaration must be in its own statement. 311
Errors Name 'neg_n5' must match pattern '^[a-z][a-zA-Z0-9]*$'. 311
Errors Each variable declaration must be in its own statement. 312
Errors Name 'neg_m7' must match pattern '^[a-z][a-zA-Z0-9]*$'. 312
Errors '6' is a magic number. 315
Errors '6' is a magic number. 316
Errors '5' is a magic number. 317
Errors '7' is a magic number. 318
Errors '5' is a magic number. 319
Errors '7' is a magic number. 321
Errors '5' is a magic number. 344
Errors '6' is a magic number. 345
Errors '7' is a magic number. 346
Errors '48' is a magic number. 350
Errors '48' is a magic number. 351
Errors '40' is a magic number. 352
Errors '56' is a magic number. 353
Errors '40' is a magic number. 354
Errors '56' is a magic number. 356
Errors '40' is a magic number. 379
Errors '48' is a magic number. 380
Errors '56' is a magic number. 381

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. 337
Errors '15' is a magic number. 342
Errors '63' is a magic number. 354
Errors Unnecessary parentheses around assignment right-hand side. 362
Errors Line is longer than 120 characters (found 122). 365
Errors '0.5f' is a magic number. 397
Errors Unnecessary parentheses around assignment right-hand side. 402

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). 53
Errors '6' is a magic number. 386
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]*$'. 535
Errors Line is longer than 120 characters (found 127). 549
Errors '0xffff' is a magic number. 550

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

Violation Message Line
Errors '0x7fff' is a magic number. 177
Errors '0xffff' is a magic number. 365

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

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

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

Violation Message Line
Errors Avoid nested blocks. 294

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. 160
Errors '0xf' is a magic number. 161

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). 183
Errors '0xff000000' is a magic number. 271
Errors '65' is a magic number. 277
Errors '10' is a magic number. 283
Errors '0xc0' is a magic number. 325
Errors '0xc0' is a magic number. 325
Errors '0x3f' is a magic number. 326
Errors '12' is a magic number. 348
Errors '769' is a magic number. 366
Errors '7' is a magic number. 392
Errors '0xffffff' is a magic number. 402
Errors '7' is a magic number. 451

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. 158
Errors '0xffffff' is a magic number. 164
Errors '10' is a magic number. 182
Errors '5' is a magic number. 183
Errors '48' is a magic number. 193
Errors '54' is a magic number. 200
Errors '10' is a magic number. 222
Errors '5' is a magic number. 223
Errors '48' is a magic number. 233
Errors '54' is a magic number. 240
Errors '7' is a magic number. 258
Errors '10' is a magic number. 264
Errors '48' is a magic number. 276
Errors '54' is a magic number. 283
Errors '0xffffff' is a magic number. 289
Errors '0xffffff' is a magic number. 293
Errors Unnecessary parentheses around assignment right-hand side. 299
Errors '7' is a magic number. 299
Errors '10' is a magic number. 326
Errors '5' is a magic number. 327
Errors '54' is a magic number. 344
Errors '0xffffff' is a magic number. 351
Errors Unnecessary parentheses around assignment right-hand side. 352
Errors '10' is a magic number. 364
Errors '5' is a magic number. 365
Errors '48' is a magic number. 375
Errors '54' is a magic number. 382
Errors '0xffffff' is a magic number. 388
Errors '12' is a magic number. 394

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'. 265
Errors Method length is 152 lines (max allowed is 150). 338
Errors Name 'IHDRs' must match pattern '^[a-z][a-zA-Z0-9]*$'. 359
Errors Name 'PLTEs' must match pattern '^[a-z][a-zA-Z0-9]*$'. 463
Errors Method length is 181 lines (max allowed is 150). 493
Errors Name 'IHDRs' must match pattern '^[a-z][a-zA-Z0-9]*$'. 521
Errors Name 'PLTEs' must match pattern '^[a-z][a-zA-Z0-9]*$'. 528
Errors Name 'IDATs' must match pattern '^[a-z][a-zA-Z0-9]*$'. 540
Errors Name 'IDAT' must match pattern '^[a-z][a-zA-Z0-9]*$'. 546
Errors Avoid nested blocks. 567
Errors '0.5' is a magic number. 603
Errors Avoid nested blocks. 616
Errors Name 'is_srgb' must match pattern '^[a-z][a-zA-Z0-9]*$'. 660
Errors Name 'cs_sRGB' must match pattern '^[a-z][a-zA-Z0-9]*$'. 665
Errors Name 'IHDRs' must match pattern '^[a-z][a-zA-Z0-9]*$'. 688
Errors Unnecessary parentheses around expression. 700

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

Violation Message Line
Errors Line is longer than 120 characters (found 123). 55
Errors Name 'png_crc' must match pattern '^[a-z][a-zA-Z0-9]*$'. 80
Errors Name 'isValidISO_8859_1' must match pattern '^[a-z][a-zA-Z0-9]*$'. 215
Errors '9' is a magic number. 287
Errors '5' is a magic number. 293
Errors '6' is a magic number. 294
Errors '7' is a magic number. 295
Errors Method length is 300 lines (max allowed is 150). 389
Errors Avoid nested blocks. 442
Errors Line is longer than 120 characters (found 127). 443
Errors Unnecessary parentheses around assignment right-hand side. 452
Errors Avoid nested blocks. 477
Errors Avoid nested blocks. 480
Errors 'cast' is not followed by whitespace. 540
Errors Avoid nested blocks. 567
Errors Avoid nested blocks. 573
Errors Avoid nested blocks. 651
Errors Avoid nested blocks. 661
Errors Line is longer than 120 characters (found 133). 673
Errors Line is longer than 120 characters (found 133). 675

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. 51
Errors Variable access definition in wrong order. 52
Errors Variable access definition in wrong order. 53
Errors 'if' construct must use '{}'s. 160
Errors 'if' is not followed by whitespace. 160
Errors 'if' construct must use '{}'s. 165
Errors 'if' is not followed by whitespace. 165
Errors 'if' construct must use '{}'s. 170
Errors 'if' is not followed by whitespace. 170
Errors 'if' construct must use '{}'s. 175
Errors 'if' is not followed by whitespace. 175
Errors 'if' construct must use '{}'s. 180
Errors 'if' is not followed by whitespace. 180

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/ImageContents.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/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/PsdImageParser.java

Violation Message Line
Errors Variable access definition in wrong order. 62
Errors Variable access definition in wrong order. 63
Errors Variable access definition in wrong order. 64
Errors '56' is a magic number. 108
Errors '66' is a magic number. 108
Errors '80' is a magic number. 108
Errors '83' is a magic number. 108
Errors Name 'ColorModeDataLength' must match pattern '^[a-z][a-zA-Z0-9]*$'. 125
Errors Name 'ImageResourcesLength' must match pattern '^[a-z][a-zA-Z0-9]*$'. 132
Errors Name 'LayerAndMaskDataLength' must match pattern '^[a-z][a-zA-Z0-9]*$'. 139
Errors Name 'Compression' must match pattern '^[a-z][a-zA-Z0-9]*$'. 146
Errors Name 'ID' must match pattern '^[a-z][a-zA-Z0-9]*$'. 170
Errors '56' is a magic number. 190
Errors '66' is a magic number. 190
Errors '73' is a magic number. 190
Errors '77' is a magic number. 190
Errors Name 'ImageResources' must match pattern '^[a-z][a-zA-Z0-9]*$'. 252
Errors Line is longer than 120 characters (found 122). 279
Errors Line is longer than 120 characters (found 124). 289
Errors Line is longer than 120 characters (found 128). 299
Errors Name 'ColorModeDataLength' must match pattern '^[a-z][a-zA-Z0-9]*$'. 342
Errors Name 'ImageResourcesLength' must match pattern '^[a-z][a-zA-Z0-9]*$'. 355
Errors Name 'LayerAndMaskDataLength' must match pattern '^[a-z][a-zA-Z0-9]*$'. 368
Errors '7' is a magic number. 462
Errors '9' is a magic number. 466
Errors Name 'BitsPerPixel' must match pattern '^[a-z][a-zA-Z0-9]*$'. 495
Errors '9' is a magic number. 652
Errors Avoid nested blocks. 657
Errors Name 'ColorModeData' must match pattern '^[a-z][a-zA-Z0-9]*$'. 659
Errors '7' is a magic number. 670

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). 504
Errors '60.0' is a magic number. 544
Errors '3600.0' is a magic number. 545
Errors '60.0' is a magic number. 559
Errors '3600.0' is a magic number. 560

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

Violation Message Line
Errors Method length is 159 lines (max allowed is 150). 146
Errors '2.54' is a magic number. 184
Errors Unnecessary parentheses around assignment right-hand side. 206
Errors Unnecessary parentheses around assignment right-hand side. 214
Errors '?' should be on a new line. 264
Errors '0xffff' is a magic number. 266
Errors Avoid nested blocks. 337
Errors Avoid nested blocks. 349
Errors '>' is followed by an illegal character. 493
Errors '0xffff' is a magic number. 556
Errors '?' should be on a new line. 560
Errors '0xffff' is a magic number. 562
Errors Avoid nested blocks. 619
Errors More than 7 parameters (found 8). 663
Errors Avoid nested blocks. 676
Errors '5' is a magic number. 695
Errors '6' is a magic number. 698
Errors Avoid nested blocks. 699
Errors '32844' is a magic number. 724
Errors '32845' is a magic number. 725
Errors Avoid nested blocks. 725

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

Violation Message Line
Errors '42' is a magic number. 87
Errors '0xFFFFffffL' is a magic number. 92
Errors Method length is 160 lines (max allowed is 150). 126
Errors '0xFFFFffffL' is a magic number. 164
Errors '0xFFFFffffL' is a magic number. 166
Errors '0xFFFFffffL' is a magic number. 216
Errors '&&' should be on a new line. 512
Errors '||' should be on a new line. 513

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]+)*$'. 375

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. 36
Errors 'cast' is not followed by whitespace. 36
Errors 'cast' is not followed by whitespace. 36
Errors 'cast' is not followed by whitespace. 36
Errors Static variable definition in wrong order. 43
Errors Variable access definition in wrong order. 43
Errors Static variable definition in wrong order. 47
Errors Variable access definition in wrong order. 47
Errors Static variable definition in wrong order. 48
Errors Variable access definition in wrong order. 48
Errors Static variable definition in wrong order. 50
Errors Variable access definition in wrong order. 50
Errors Static variable definition in wrong order. 55
Errors Variable access definition in wrong order. 55
Errors Static variable definition in wrong order. 59
Errors Variable access definition in wrong order. 59
Errors Static variable definition in wrong order. 60
Errors Variable access definition in wrong order. 60
Errors Static variable definition in wrong order. 62
Errors Variable access definition in wrong order. 62
Errors Static variable definition in wrong order. 67
Errors Variable access definition in wrong order. 67
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. 74
Errors Variable access definition in wrong order. 74
Errors Static variable definition in wrong order. 79
Errors Variable access definition in wrong order. 79
Errors Static variable definition in wrong order. 84
Errors Variable access definition in wrong order. 84
Errors Static variable definition in wrong order. 89
Errors Variable access definition in wrong order. 89
Errors Static variable definition in wrong order. 93
Errors Variable access definition in wrong order. 93
Errors Static variable definition in wrong order. 94
Errors Variable access definition in wrong order. 94
Errors Static variable definition in wrong order. 96
Errors Variable access definition in wrong order. 96
Errors Static variable definition in wrong order. 100
Errors Variable access definition in wrong order. 100
Errors Static variable definition in wrong order. 101
Errors Variable access definition in wrong order. 101
Errors Static variable definition in wrong order. 103
Errors Variable access definition in wrong order. 103
Errors Static variable definition in wrong order. 108
Errors Variable access definition in wrong order. 108
Errors Static variable definition in wrong order. 112
Errors Variable access definition in wrong order. 112
Errors Static variable definition in wrong order. 113
Errors Variable access definition in wrong order. 113
Errors Static variable definition in wrong order. 114
Errors Variable access definition in wrong order. 114
Errors Static variable definition in wrong order. 116
Errors Variable access definition in wrong order. 116
Errors Static variable definition in wrong order. 121
Errors Variable access definition in wrong order. 121
Errors Static variable definition in wrong order. 125
Errors Variable access definition in wrong order. 125
Errors Static variable definition in wrong order. 126
Errors Variable access definition in wrong order. 126
Errors Static variable definition in wrong order. 128
Errors Variable access definition in wrong order. 128
Errors Static variable definition in wrong order. 133
Errors Variable access definition in wrong order. 133
Errors Static variable definition in wrong order. 137
Errors Variable access definition in wrong order. 137
Errors Static variable definition in wrong order. 138
Errors Variable access definition in wrong order. 138
Errors Static variable definition in wrong order. 140
Errors Variable access definition in wrong order. 140
Errors Static variable definition in wrong order. 145
Errors Variable access definition in wrong order. 145
Errors Static variable definition in wrong order. 150
Errors Variable access definition in wrong order. 150
Errors Static variable definition in wrong order. 154
Errors Variable access definition in wrong order. 154
Errors Static variable definition in wrong order. 155
Errors Variable access definition in wrong order. 155
Errors Static variable definition in wrong order. 157
Errors Variable access definition in wrong order. 157
Errors Static variable definition in wrong order. 162
Errors Variable access definition in wrong order. 162
Errors Static variable definition in wrong order. 166
Errors Variable access definition in wrong order. 166
Errors Static variable definition in wrong order. 167
Errors Variable access definition in wrong order. 167
Errors Static variable definition in wrong order. 169
Errors Variable access definition in wrong order. 169
Errors Static variable definition in wrong order. 174
Errors Variable access definition in wrong order. 174
Errors Static variable definition in wrong order. 178
Errors Variable access definition in wrong order. 178
Errors Static variable definition in wrong order. 179
Errors Variable access definition in wrong order. 179
Errors Static variable definition in wrong order. 181
Errors Variable access definition in wrong order. 181
Errors Static variable definition in wrong order. 186
Errors Variable access definition in wrong order. 186
Errors Static variable definition in wrong order. 190
Errors Variable access definition in wrong order. 190
Errors Static variable definition in wrong order. 191
Errors Variable access definition in wrong order. 191
Errors Static variable definition in wrong order. 192
Errors Variable access definition in wrong order. 192
Errors Static variable definition in wrong order. 194
Errors Variable access definition in wrong order. 194
Errors Static variable definition in wrong order. 199
Errors Variable access definition in wrong order. 199
Errors Static variable definition in wrong order. 204
Errors Variable access definition in wrong order. 204
Errors Static variable definition in wrong order. 209
Errors Variable access definition in wrong order. 209
Errors Static variable definition in wrong order. 214
Errors Variable access definition in wrong order. 214
Errors Static variable definition in wrong order. 218
Errors Variable access definition in wrong order. 218
Errors Static variable definition in wrong order. 219
Errors Variable access definition in wrong order. 219
Errors Static variable definition in wrong order. 222
Errors Variable access definition in wrong order. 222
Errors Constructor definition in wrong order. 240

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

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

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

Violation Message Line
Errors Variable access definition in wrong order. 42
Errors Variable access definition in wrong order. 45
Errors Variable access definition in wrong order. 46
Errors Variable access definition in wrong order. 47
Errors Variable access definition in wrong order. 48
Errors Must have at least one statement. 141
Errors Avoid nested blocks. 159
Errors Avoid nested blocks. 180
Errors Avoid nested blocks. 196
Errors Avoid nested blocks. 210

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/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 139). 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/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/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. 530
Errors '7' is a magic number. 540
Errors '127' is a magic number. 560
Errors Unnecessary parentheses around assignment right-hand side. 580
Errors '42' is a magic number. 610

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

Violation Message Line
Errors Static variable definition in wrong order. 49
Errors Static variable definition in wrong order. 55
Errors Line is longer than 120 characters (found 122). 71
Errors Avoid nested blocks. 119
Errors Name 'TOLERANCE' must match pattern '^[a-z][a-zA-Z0-9]*$'. 120
Errors Avoid nested blocks. 317

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

Violation Message Line
Errors Static variable definition in wrong order. 64
Errors Variable access definition in wrong order. 64
Errors Constructor definition in wrong order. 83

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. 175
Errors '60.0' is a magic number. 179
Errors '60.0' is a magic number. 182

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. 182
Errors '7' is a magic number. 204
Errors '127' is a magic number. 263

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. 245
Errors Unnecessary parentheses around assignment right-hand side. 261
Errors '0xffffff' is a magic number. 278
Errors '127' is a magic number. 361
Errors Unnecessary parentheses around assignment right-hand side. 366
Errors '12' is a magic number. 371
Errors '12' is a magic number. 384

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. 95
Errors '11' is a magic number. 96
Errors '11' is a magic number. 97
Errors '0xff000000' is a magic number. 98
Errors '0xff000000' is a magic number. 151
Errors '0xff000000' is a magic number. 151
Errors Variable 'haveColor' explicitly initialized to 'false' (default value for its type). 219
Errors Variable 'haveGray' explicitly initialized to 'false' (default value for its type). 221
Errors Variable 'haveGray4Level' explicitly initialized to 'false' (default value for its type). 223
Errors Variable 'haveMono' explicitly initialized to 'false' (default value for its type). 225
Errors '7' is a magic number. 305
Errors '6' is a magic number. 317
Errors '5' is a magic number. 319
Errors '5' is a magic number. 321
Errors '7' is a magic number. 321
Errors '0xff000000' is a magic number. 344
Errors '20' is a magic number. 344
Errors '12' is a magic number. 344
Errors '6' is a magic number. 345
Errors '0xff000000' is a magic number. 346
Errors '9' is a magic number. 347
Errors '0xff000000' is a magic number. 351
Errors '12' is a magic number. 352
Errors '0xff000000' is a magic number. 356
Errors Line is longer than 120 characters (found 136). 374
Errors '0x00ff0000' is a magic number. 548
Errors '0x0000ff00' is a magic number. 548
Errors '0xff000000' is a magic number. 549
Errors '0x00ff0000' is a magic number. 551
Errors '0x0000ff00' is a magic number. 552
Errors '0xff000000' is a magic number. 552
Errors Unnecessary parentheses around assignment right-hand side. 636
Errors '6' is a magic number. 645
Errors '6' is a magic number. 646
Errors '0xff000000' is a magic number. 718
Errors '0xffffff' is a magic number. 722

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). 109
Errors Line is longer than 120 characters (found 131). 154
Errors '12' is a magic number. 159
Errors Line is longer than 120 characters (found 127). 161
Errors Line is longer than 120 characters (found 135). 166
Errors Line is longer than 120 characters (found 123). 176
Errors '12' is a magic number. 193
Errors Line is longer than 120 characters (found 133). 195
Errors '28' is a magic number. 208
Errors Line is longer than 120 characters (found 126). 218
Errors Line is longer than 120 characters (found 126). 223
Errors Line is longer than 120 characters (found 124). 224
Errors Avoid nested blocks. 246
Errors Must have at least one statement. 248
Errors '5' is a magic number. 322
Errors '12' is a magic number. 324
Errors Line is longer than 120 characters (found 125). 328

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

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

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

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

Violation Message Line
Errors Constructor definition in wrong order. 45