PMD Results
The following document contains the results of PMD 6.42.0.
Violations By Priority
Priority 3
org/apache/commons/imaging/ColorTools.java
Rule |
Violation |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
42–249 |
org/apache/commons/imaging/FormatCompliance.java
Rule |
Violation |
Line |
ConsecutiveAppendsShouldReuse |
StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. |
150 |
AppendCharacterWithChar |
Avoid appending characters as strings in StringBuffer.append. |
164 |
org/apache/commons/imaging/ImageDump.java
Rule |
Violation |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
32–103 |
org/apache/commons/imaging/ImageInfo.java
Rule |
Violation |
Line |
DataClass |
The class 'ImageInfo' is suspected to be a Data Class (WOC=13.636%, NOPA=0, NOAM=18, WMC=25) |
30–380 |
org/apache/commons/imaging/ImageParser.java
Rule |
Violation |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
93–944 |
org/apache/commons/imaging/ImagingParameters.java
Rule |
Violation |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
29–88 |
DataClass |
The class 'ImagingParameters' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=8, WMC=8) |
29–88 |
org/apache/commons/imaging/color/ColorConversions.java
Rule |
Violation |
Line |
UnusedPrivateMethod |
Avoid unused private methods such as 'cube(double)'. |
516 |
org/apache/commons/imaging/common/GenericImageMetadata.java
Rule |
Violation |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
22–100 |
org/apache/commons/imaging/common/PackBits.java
Rule |
Violation |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
24–154 |
org/apache/commons/imaging/common/RgbBufferedImageFactory.java
Rule |
Violation |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
22–38 |
org/apache/commons/imaging/common/SimpleBufferedImageFactory.java
Rule |
Violation |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
22–41 |
org/apache/commons/imaging/common/XmpImagingParameters.java
Rule |
Violation |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
26–38 |
org/apache/commons/imaging/common/ZlibDeflate.java
Rule |
Violation |
Line |
UseUtilityClass |
All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. |
39–82 |
org/apache/commons/imaging/common/bytesource/ByteSourceInputStream.java
Rule |
Violation |
Line |
AccessorMethodGeneration |
Avoid autogenerated methods to access private fields and methods of inner / outer classes |
57 |
AtLeastOneConstructor |
Each class should declare at least one constructor |
91–205 |
AccessorMethodGeneration |
Avoid autogenerated methods to access private fields and methods of inner / outer classes |
102 |
AccessorMethodGeneration |
Avoid autogenerated methods to access private fields and methods of inner / outer classes |
140 |
AccessorMethodGeneration |
Avoid autogenerated methods to access private fields and methods of inner / outer classes |
178 |
CloseResource |
Ensure that resources like this InputStream object are closed after use |
223 |
CloseResource |
Ensure that resources like this InputStream object are closed after use |
246 |
org/apache/commons/imaging/common/itu_t4/HuffmanTree.java
Rule |
Violation |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
26–90 |
org/apache/commons/imaging/common/mylzw/MyLzwCompressor.java
Rule |
Violation |
Line |
AccessorMethodGeneration |
Avoid autogenerated methods to access private fields and methods of inner / outer classes |
230 |
AccessorMethodGeneration |
Avoid autogenerated methods to access private fields and methods of inner / outer classes |
240 |
org/apache/commons/imaging/formats/bmp/BmpImagingParameters.java
Rule |
Violation |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
26 |
org/apache/commons/imaging/formats/bmp/BmpWriterRgb.java
Rule |
Violation |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
25–82 |
org/apache/commons/imaging/formats/gif/GifImageMetadataItem.java
Rule |
Violation |
Line |
DataClass |
The class 'GifImageMetadataItem' is suspected to be a Data Class (WOC=20.000%, NOPA=0, NOAM=4, WMC=7) |
21–61 |
ConsecutiveAppendsShouldReuse |
StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. |
55 |
ConsecutiveAppendsShouldReuse |
StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. |
56 |
ConsecutiveAppendsShouldReuse |
StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. |
57 |
org/apache/commons/imaging/formats/gif/GifImagingParameters.java
Rule |
Violation |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
26 |
org/apache/commons/imaging/formats/icns/IcnsImagingParameters.java
Rule |
Violation |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
24 |
org/apache/commons/imaging/formats/ico/IcoImagingParameters.java
Rule |
Violation |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
24 |
org/apache/commons/imaging/formats/jpeg/JpegImageMetadata.java
Rule |
Violation |
Line |
ConsecutiveAppendsShouldReuse |
StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. |
223 |
org/apache/commons/imaging/formats/jpeg/JpegImageParser.java
Rule |
Violation |
Line |
AccessorMethodGeneration |
Avoid autogenerated methods to access private fields and methods of inner / outer classes |
171 |
SwitchDensity |
A high ratio of statements to labels in a switch statement. Consider refactoring. |
845–954 |
org/apache/commons/imaging/formats/jpeg/JpegImagingParameters.java
Rule |
Violation |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
24 |
org/apache/commons/imaging/formats/jpeg/iptc/JpegIptcRewriter.java
Rule |
Violation |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
41–372 |
org/apache/commons/imaging/formats/jpeg/segments/DhtSegment.java
Rule |
Violation |
Line |
AvoidArrayLoops |
System.arraycopy is more efficient |
154–158 |
org/apache/commons/imaging/formats/jpeg/segments/SofnSegment.java
Rule |
Violation |
Line |
DataClass |
The class 'Component' is suspected to be a Data Class (WOC=0.000%, NOPA=4, NOAM=0, WMC=1) |
41–54 |
org/apache/commons/imaging/formats/jpeg/xmp/JpegRewriter.java
Rule |
Violation |
Line |
AccessorMethodGeneration |
Avoid autogenerated methods to access private fields and methods of inner / outer classes |
83 |
AccessorMethodGeneration |
Avoid autogenerated methods to access private fields and methods of inner / outer classes |
84 |
org/apache/commons/imaging/formats/jpeg/xmp/JpegXmpRewriter.java
Rule |
Violation |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
39–225 |
org/apache/commons/imaging/formats/pcx/PcxImagingParameters.java
Rule |
Violation |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
24–54 |
DataClass |
The class 'PcxImagingParameters' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=6) |
24–54 |
org/apache/commons/imaging/formats/pcx/PcxWriter.java
Rule |
Violation |
Line |
ImmutableField |
Private field 'bitDepthWanted' could be made final; it is only initialized in the declaration or constructor. |
32 |
ImmutableField |
Private field 'planesWanted' could be made final; it is only initialized in the declaration or constructor. |
33 |
org/apache/commons/imaging/formats/png/PngCrc.java
Rule |
Violation |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
20–85 |
org/apache/commons/imaging/formats/png/PngImagingParameters.java
Rule |
Violation |
Line |
DataClass |
The class 'PngImagingParameters' is suspected to be a Data Class (WOC=0.000%, NOPA=1, NOAM=12, WMC=13) |
27–120 |
AtLeastOneConstructor |
Each class should declare at least one constructor |
27–120 |
org/apache/commons/imaging/formats/png/PngWriter.java
Rule |
Violation |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
34–629 |
org/apache/commons/imaging/formats/png/chunks/PngChunk.java
Rule |
Violation |
Line |
DataClass |
The class 'PngChunk' is suspected to be a Data Class (WOC=0.000%, NOPA=7, NOAM=2, WMC=5) |
29–96 |
org/apache/commons/imaging/formats/png/chunks/PngChunkIccp.java
Rule |
Violation |
Line |
SingularField |
Perhaps 'compressedProfile' could be replaced by a local variable. |
56 |
org/apache/commons/imaging/formats/png/chunks/PngChunkIhdr.java
Rule |
Violation |
Line |
DataClass |
The class 'PngChunkIhdr' is suspected to be a Data Class (WOC=0.000%, NOPA=7, NOAM=0, WMC=6) |
29–58 |
org/apache/commons/imaging/formats/png/chunks/PngChunkItxt.java
Rule |
Violation |
Line |
DataClass |
The class 'PngChunkItxt' is suspected to be a Data Class (WOC=25.000%, NOPA=4, NOAM=2, WMC=17) |
31–124 |
org/apache/commons/imaging/formats/png/chunks/PngChunkScal.java
Rule |
Violation |
Line |
PreserveStackTrace |
New exception is thrown in catch block, original stack trace may be lost |
61 |
org/apache/commons/imaging/formats/png/chunks/PngChunkText.java
Rule |
Violation |
Line |
DataClass |
The class 'PngChunkText' is suspected to be a Data Class (WOC=25.000%, NOPA=2, NOAM=2, WMC=7) |
28–76 |
org/apache/commons/imaging/formats/png/chunks/PngChunkZtxt.java
Rule |
Violation |
Line |
DataClass |
The class 'PngChunkZtxt' is suspected to be a Data Class (WOC=25.000%, NOPA=2, NOAM=2, WMC=8) |
31–84 |
org/apache/commons/imaging/formats/png/scanlinefilters/ScanlineFilterNone.java
Rule |
Violation |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
23–30 |
org/apache/commons/imaging/formats/png/scanlinefilters/ScanlineFilterUp.java
Rule |
Violation |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
23–44 |
org/apache/commons/imaging/formats/pnm/PamWriter.java
Rule |
Violation |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
27–73 |
org/apache/commons/imaging/formats/pnm/PnmImagingParameters.java
Rule |
Violation |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
26–49 |
DataClass |
The class 'PnmImagingParameters' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) |
26–49 |
org/apache/commons/imaging/formats/psd/PsdImageParser.java
Rule |
Violation |
Line |
TooManyStaticImports |
Too many static imports may lead to messy code |
17–709 |
org/apache/commons/imaging/formats/psd/PsdImagingParameters.java
Rule |
Violation |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
26 |
org/apache/commons/imaging/formats/psd/dataparsers/DataParser.java
Rule |
Violation |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
25–45 |
org/apache/commons/imaging/formats/psd/dataparsers/DataParserBitmap.java
Rule |
Violation |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
21–46 |
org/apache/commons/imaging/formats/psd/dataparsers/DataParserCmyk.java
Rule |
Violation |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
22–45 |
org/apache/commons/imaging/formats/psd/dataparsers/DataParserGrayscale.java
Rule |
Violation |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
21–39 |
org/apache/commons/imaging/formats/psd/dataparsers/DataParserLab.java
Rule |
Violation |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
22–40 |
org/apache/commons/imaging/formats/psd/dataparsers/DataParserRgb.java
Rule |
Violation |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
21–41 |
org/apache/commons/imaging/formats/psd/dataparsers/DataParserStub.java
Rule |
Violation |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
21–33 |
org/apache/commons/imaging/formats/rgbe/RgbeImagingParameters.java
Rule |
Violation |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
24 |
org/apache/commons/imaging/formats/tiff/TiffDirectory.java
Rule |
Violation |
Line |
CompareObjectsWithEquals |
Use equals() to compare object references. |
465 |
org/apache/commons/imaging/formats/tiff/TiffImageData.java
Rule |
Violation |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
32–196 |
AccessorMethodGeneration |
Avoid autogenerated methods to access private fields and methods of inner / outer classes |
64 |
AccessorMethodGeneration |
Avoid autogenerated methods to access private fields and methods of inner / outer classes |
133 |
org/apache/commons/imaging/formats/tiff/TiffImageMetadata.java
Rule |
Violation |
Line |
AccessorMethodGeneration |
Avoid autogenerated methods to access private fields and methods of inner / outer classes |
197 |
AccessorMethodGeneration |
Avoid autogenerated methods to access private fields and methods of inner / outer classes |
433 |
org/apache/commons/imaging/formats/tiff/TiffImagingParameters.java
Rule |
Violation |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
26–261 |
DataClass |
The class 'TiffImagingParameters' is suspected to be a Data Class (WOC=23.810%, NOPA=0, NOAM=16, WMC=27) |
26–261 |
org/apache/commons/imaging/formats/tiff/TiffReader.java
Rule |
Violation |
Line |
TooManyStaticImports |
Too many static imports may lead to messy code |
17–490 |
org/apache/commons/imaging/formats/tiff/constants/GpsTagConstants.java
Rule |
Violation |
Line |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
45–47 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
49 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
50 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
52–54 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
57–59 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
61 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
62 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
64–66 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
69–71 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
73 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
74 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
76–78 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
81–83 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
86–88 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
91–93 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
95 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
96 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
98–100 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
102 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
103 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
105–107 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
110–112 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
114 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
115 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
116 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
118–120 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
123–125 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
127 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
128 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
130–132 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
135–137 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
139 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
140 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
142–144 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
147–149 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
152–154 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
156 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
157 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
159–161 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
164–166 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
168 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
169 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
171–173 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
176–178 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
180 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
181 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
183–185 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
188–190 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
192 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
193 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
194 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
196–198 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
201–203 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
206–208 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
211–213 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
216–218 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
220 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
221 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
224–240 |
org/apache/commons/imaging/formats/tiff/constants/TiffDirectoryType.java
Rule |
Violation |
Line |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
65 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
66 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
67 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
68 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
69 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
70 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
71 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
72 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
73 |
org/apache/commons/imaging/formats/tiff/datareaders/BitInputStream.java
Rule |
Violation |
Line |
CompareObjectsWithEquals |
Use equals() to compare object references. |
97 |
org/apache/commons/imaging/formats/tiff/fieldtypes/FieldTypeLong.java
Rule |
Violation |
Line |
AvoidArrayLoops |
System.arraycopy is more efficient |
54–56 |
org/apache/commons/imaging/formats/tiff/taginfos/TagInfoXpString.java
Rule |
Violation |
Line |
CompareObjectsWithEquals |
Use equals() to compare object references. |
52 |
org/apache/commons/imaging/formats/tiff/write/TiffImageWriterLossless.java
Rule |
Violation |
Line |
CloseResource |
Ensure that resources like this BufferOutputStream object are closed after use |
300 |
CloseResource |
Ensure that resources like this BufferOutputStream object are closed after use |
301 |
org/apache/commons/imaging/formats/tiff/write/TiffOutputItem.java
Rule |
Violation |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
24–77 |
org/apache/commons/imaging/formats/wbmp/WbmpImageParser.java
Rule |
Violation |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
43–252 |
org/apache/commons/imaging/formats/wbmp/WbmpImagingParameters.java
Rule |
Violation |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
24 |
org/apache/commons/imaging/formats/xbm/XbmImageParser.java
Rule |
Violation |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
49–400 |
SimplifyStartsWith |
This call to String.startsWith can be rewritten using String.charAt(0) |
181 |
org/apache/commons/imaging/formats/xbm/XbmImagingParameters.java
Rule |
Violation |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
24 |
org/apache/commons/imaging/formats/xpm/XpmImageParser.java
Rule |
Violation |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
54–726 |
CloseResource |
Ensure that resources like this InputStream object are closed after use |
74 |
org/apache/commons/imaging/formats/xpm/XpmImagingParameters.java
Rule |
Violation |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
23 |
org/apache/commons/imaging/icc/IccTagDataTypes.java
Rule |
Violation |
Line |
AccessorMethodGeneration |
Avoid autogenerated methods to access private fields and methods of inner / outer classes |
45 |
AccessorMethodGeneration |
Avoid autogenerated methods to access private fields and methods of inner / outer classes |
84 |
AccessorMethodGeneration |
Avoid autogenerated methods to access private fields and methods of inner / outer classes |
108 |
org/apache/commons/imaging/palette/LongestAxisMedianCut.java
Rule |
Violation |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
25–120 |
org/apache/commons/imaging/palette/MostPopulatedBoxesMedianCut.java
Rule |
Violation |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
24–133 |
Priority 4
org/apache/commons/imaging/Imaging.java
Rule |
Violation |
Line |
UseVarargs |
Consider using varargs for methods or constructors which take an array the last parameter. |
186 |
org/apache/commons/imaging/common/itu_t4/T4AndT6Compression.java
Rule |
Violation |
Line |
UseVarargs |
Consider using varargs for methods or constructors which take an array the last parameter. |
244 |
org/apache/commons/imaging/formats/dcx/DcxImageParser.java
Rule |
Violation |
Line |
UseVarargs |
Consider using varargs for methods or constructors which take an array the last parameter. |
112 |
org/apache/commons/imaging/formats/icns/IcnsDecoder.java
Rule |
Violation |
Line |
UseVarargs |
Consider using varargs for methods or constructors which take an array the last parameter. |
193 |
UseVarargs |
Consider using varargs for methods or constructors which take an array the last parameter. |
246 |
org/apache/commons/imaging/formats/icns/IcnsImageParser.java
Rule |
Violation |
Line |
UseVarargs |
Consider using varargs for methods or constructors which take an array the last parameter. |
193 |
org/apache/commons/imaging/formats/ico/IcoImageParser.java
Rule |
Violation |
Line |
UseVarargs |
Consider using varargs for methods or constructors which take an array the last parameter. |
536 |
org/apache/commons/imaging/formats/jpeg/JpegImageParser.java
Rule |
Violation |
Line |
UseVarargs |
Consider using varargs for methods or constructors which take an array the last parameter. |
110 |
org/apache/commons/imaging/formats/jpeg/decoder/Dct.java
Rule |
Violation |
Line |
UseVarargs |
Consider using varargs for methods or constructors which take an array the last parameter. |
102 |
UseVarargs |
Consider using varargs for methods or constructors which take an array the last parameter. |
108 |
UseVarargs |
Consider using varargs for methods or constructors which take an array the last parameter. |
114 |
UseVarargs |
Consider using varargs for methods or constructors which take an array the last parameter. |
123 |
UseVarargs |
Consider using varargs for methods or constructors which take an array the last parameter. |
137 |
UseVarargs |
Consider using varargs for methods or constructors which take an array the last parameter. |
178 |
UseVarargs |
Consider using varargs for methods or constructors which take an array the last parameter. |
259 |
UseVarargs |
Consider using varargs for methods or constructors which take an array the last parameter. |
306 |
org/apache/commons/imaging/formats/jpeg/decoder/JpegDecoder.java
Rule |
Violation |
Line |
UseVarargs |
Consider using varargs for methods or constructors which take an array the last parameter. |
285 |
UseVarargs |
Consider using varargs for methods or constructors which take an array the last parameter. |
343 |
UseVarargs |
Consider using varargs for methods or constructors which take an array the last parameter. |
439 |
UseVarargs |
Consider using varargs for methods or constructors which take an array the last parameter. |
469 |
org/apache/commons/imaging/formats/jpeg/decoder/JpegInputStream.java
Rule |
Violation |
Line |
UseVarargs |
Consider using varargs for methods or constructors which take an array the last parameter. |
31 |
org/apache/commons/imaging/formats/jpeg/decoder/ZigZag.java
Rule |
Violation |
Line |
UseVarargs |
Consider using varargs for methods or constructors which take an array the last parameter. |
33 |
UseVarargs |
Consider using varargs for methods or constructors which take an array the last parameter. |
39 |
org/apache/commons/imaging/formats/jpeg/segments/DhtSegment.java
Rule |
Violation |
Line |
UseVarargs |
Consider using varargs for methods or constructors which take an array the last parameter. |
45 |
org/apache/commons/imaging/formats/jpeg/segments/DqtSegment.java
Rule |
Violation |
Line |
UseVarargs |
Consider using varargs for methods or constructors which take an array the last parameter. |
38 |
org/apache/commons/imaging/formats/png/PngColorType.java
Rule |
Violation |
Line |
UseVarargs |
Consider using varargs for methods or constructors which take an array the last parameter. |
38 |
org/apache/commons/imaging/formats/png/PngImageParser.java
Rule |
Violation |
Line |
UseVarargs |
Consider using varargs for methods or constructors which take an array the last parameter. |
142 |
org/apache/commons/imaging/formats/psd/PsdImageParser.java
Rule |
Violation |
Line |
UseVarargs |
Consider using varargs for methods or constructors which take an array the last parameter. |
171 |
org/apache/commons/imaging/formats/tiff/TiffRasterDataFloat.java
Rule |
Violation |
Line |
UseVarargs |
Consider using varargs for methods or constructors which take an array the last parameter. |
78 |
UseVarargs |
Consider using varargs for methods or constructors which take an array the last parameter. |
96 |
org/apache/commons/imaging/formats/tiff/TiffRasterDataInt.java
Rule |
Violation |
Line |
UseVarargs |
Consider using varargs for methods or constructors which take an array the last parameter. |
76 |
UseVarargs |
Consider using varargs for methods or constructors which take an array the last parameter. |
94 |
org/apache/commons/imaging/formats/tiff/datareaders/ImageDataReader.java
Rule |
Violation |
Line |
UseVarargs |
Consider using varargs for methods or constructors which take an array the last parameter. |
250 |
UseVarargs |
Consider using varargs for methods or constructors which take an array the last parameter. |
271 |
UseVarargs |
Consider using varargs for methods or constructors which take an array the last parameter. |
700 |
UseVarargs |
Consider using varargs for methods or constructors which take an array the last parameter. |
821 |
org/apache/commons/imaging/formats/tiff/photometricinterpreters/PhotometricInterpreterPalette.java
Rule |
Violation |
Line |
UseVarargs |
Consider using varargs for methods or constructors which take an array the last parameter. |
35 |
org/apache/commons/imaging/icc/IccProfileInfo.java
Rule |
Violation |
Line |
UseVarargs |
Consider using varargs for methods or constructors which take an array the last parameter. |
53 |
org/apache/commons/imaging/internal/Debug.java
Rule |
Violation |
Line |
UseVarargs |
Consider using varargs for methods or constructors which take an array the last parameter. |
58 |
UseVarargs |
Consider using varargs for methods or constructors which take an array the last parameter. |
108 |
UseVarargs |
Consider using varargs for methods or constructors which take an array the last parameter. |
206 |
UseVarargs |
Consider using varargs for methods or constructors which take an array the last parameter. |
233 |
org/apache/commons/imaging/palette/ColorSpaceSubset.java
Rule |
Violation |
Line |
UseVarargs |
Consider using varargs for methods or constructors which take an array the last parameter. |
51 |
UseVarargs |
Consider using varargs for methods or constructors which take an array the last parameter. |
135 |
org/apache/commons/imaging/palette/MedianCutPalette.java
Rule |
Violation |
Line |
UseVarargs |
Consider using varargs for methods or constructors which take an array the last parameter. |
22 |
org/apache/commons/imaging/palette/PaletteFactory.java
Rule |
Violation |
Line |
UseVarargs |
Consider using varargs for methods or constructors which take an array the last parameter. |
478 |
org/apache/commons/imaging/palette/SimplePalette.java
Rule |
Violation |
Line |
UseVarargs |
Consider using varargs for methods or constructors which take an array the last parameter. |
22 |
Files
org/apache/commons/imaging/ColorTools.java
Rule |
Violation |
Priority |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
3 |
42–249 |
org/apache/commons/imaging/FormatCompliance.java
Rule |
Violation |
Priority |
Line |
ConsecutiveAppendsShouldReuse |
StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. |
3 |
150 |
AppendCharacterWithChar |
Avoid appending characters as strings in StringBuffer.append. |
3 |
164 |
org/apache/commons/imaging/ImageDump.java
Rule |
Violation |
Priority |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
3 |
32–103 |
org/apache/commons/imaging/ImageInfo.java
Rule |
Violation |
Priority |
Line |
DataClass |
The class 'ImageInfo' is suspected to be a Data Class (WOC=13.636%, NOPA=0, NOAM=18, WMC=25) |
3 |
30–380 |
org/apache/commons/imaging/ImageParser.java
Rule |
Violation |
Priority |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
3 |
93–944 |
org/apache/commons/imaging/Imaging.java
Rule |
Violation |
Priority |
Line |
UseVarargs |
Consider using varargs for methods or constructors which take an array the last parameter. |
4 |
186 |
InefficientEmptyStringCheck |
String.trim().length() == 0 / String.trim().isEmpty() is an inefficient way to validate a blank String. |
3 |
295 |
AvoidProtectedMethodInFinalClassNotExtending |
Avoid protected methods in a final class that doesnt extend anything other than Object. Change to private or package access. |
3 |
346–362 |
org/apache/commons/imaging/ImagingParameters.java
Rule |
Violation |
Priority |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
3 |
29–88 |
DataClass |
The class 'ImagingParameters' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=8, WMC=8) |
3 |
29–88 |
org/apache/commons/imaging/color/ColorConversions.java
Rule |
Violation |
Priority |
Line |
UnusedPrivateMethod |
Avoid unused private methods such as 'cube(double)'. |
3 |
516 |
org/apache/commons/imaging/common/GenericImageMetadata.java
Rule |
Violation |
Priority |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
3 |
22–100 |
org/apache/commons/imaging/common/PackBits.java
Rule |
Violation |
Priority |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
3 |
24–154 |
org/apache/commons/imaging/common/RgbBufferedImageFactory.java
Rule |
Violation |
Priority |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
3 |
22–38 |
org/apache/commons/imaging/common/SimpleBufferedImageFactory.java
Rule |
Violation |
Priority |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
3 |
22–41 |
org/apache/commons/imaging/common/XmpImagingParameters.java
Rule |
Violation |
Priority |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
3 |
26–38 |
org/apache/commons/imaging/common/ZlibDeflate.java
Rule |
Violation |
Priority |
Line |
UseUtilityClass |
All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. |
3 |
39–82 |
org/apache/commons/imaging/common/bytesource/ByteSourceInputStream.java
Rule |
Violation |
Priority |
Line |
AccessorMethodGeneration |
Avoid autogenerated methods to access private fields and methods of inner / outer classes |
3 |
57 |
AtLeastOneConstructor |
Each class should declare at least one constructor |
3 |
91–205 |
AccessorMethodGeneration |
Avoid autogenerated methods to access private fields and methods of inner / outer classes |
3 |
102 |
AccessorMethodGeneration |
Avoid autogenerated methods to access private fields and methods of inner / outer classes |
3 |
140 |
AccessorMethodGeneration |
Avoid autogenerated methods to access private fields and methods of inner / outer classes |
3 |
178 |
CloseResource |
Ensure that resources like this InputStream object are closed after use |
3 |
223 |
CloseResource |
Ensure that resources like this InputStream object are closed after use |
3 |
246 |
org/apache/commons/imaging/common/itu_t4/HuffmanTree.java
Rule |
Violation |
Priority |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
3 |
26–90 |
org/apache/commons/imaging/common/mylzw/MyLzwCompressor.java
Rule |
Violation |
Priority |
Line |
AccessorMethodGeneration |
Avoid autogenerated methods to access private fields and methods of inner / outer classes |
3 |
230 |
AccessorMethodGeneration |
Avoid autogenerated methods to access private fields and methods of inner / outer classes |
3 |
240 |
org/apache/commons/imaging/formats/bmp/BmpImagingParameters.java
Rule |
Violation |
Priority |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
3 |
26 |
org/apache/commons/imaging/formats/bmp/BmpWriterRgb.java
Rule |
Violation |
Priority |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
3 |
25–82 |
org/apache/commons/imaging/formats/dcx/DcxImageParser.java
Rule |
Violation |
Priority |
Line |
UseVarargs |
Consider using varargs for methods or constructors which take an array the last parameter. |
4 |
112 |
org/apache/commons/imaging/formats/gif/GifImageMetadata.java
Rule |
Violation |
Priority |
Line |
ConsecutiveAppendsShouldReuse |
StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. |
3 |
41 |
ConsecutiveAppendsShouldReuse |
StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. |
3 |
42 |
ConsecutiveAppendsShouldReuse |
StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. |
3 |
43 |
ConsecutiveAppendsShouldReuse |
StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. |
3 |
44 |
org/apache/commons/imaging/formats/gif/GifImageMetadataItem.java
Rule |
Violation |
Priority |
Line |
DataClass |
The class 'GifImageMetadataItem' is suspected to be a Data Class (WOC=20.000%, NOPA=0, NOAM=4, WMC=7) |
3 |
21–61 |
ConsecutiveAppendsShouldReuse |
StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. |
3 |
55 |
ConsecutiveAppendsShouldReuse |
StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. |
3 |
56 |
ConsecutiveAppendsShouldReuse |
StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. |
3 |
57 |
org/apache/commons/imaging/formats/gif/GifImagingParameters.java
Rule |
Violation |
Priority |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
3 |
26 |
org/apache/commons/imaging/formats/icns/IcnsDecoder.java
Rule |
Violation |
Priority |
Line |
UseVarargs |
Consider using varargs for methods or constructors which take an array the last parameter. |
4 |
193 |
UseVarargs |
Consider using varargs for methods or constructors which take an array the last parameter. |
4 |
246 |
org/apache/commons/imaging/formats/icns/IcnsImageParser.java
Rule |
Violation |
Priority |
Line |
UseVarargs |
Consider using varargs for methods or constructors which take an array the last parameter. |
4 |
193 |
org/apache/commons/imaging/formats/icns/IcnsImagingParameters.java
Rule |
Violation |
Priority |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
3 |
24 |
org/apache/commons/imaging/formats/ico/IcoImageParser.java
Rule |
Violation |
Priority |
Line |
UseVarargs |
Consider using varargs for methods or constructors which take an array the last parameter. |
4 |
536 |
org/apache/commons/imaging/formats/ico/IcoImagingParameters.java
Rule |
Violation |
Priority |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
3 |
24 |
org/apache/commons/imaging/formats/jpeg/JpegImageMetadata.java
Rule |
Violation |
Priority |
Line |
ConsecutiveAppendsShouldReuse |
StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. |
3 |
223 |
org/apache/commons/imaging/formats/jpeg/JpegImageParser.java
Rule |
Violation |
Priority |
Line |
UseVarargs |
Consider using varargs for methods or constructors which take an array the last parameter. |
4 |
110 |
AccessorMethodGeneration |
Avoid autogenerated methods to access private fields and methods of inner / outer classes |
3 |
171 |
SwitchDensity |
A high ratio of statements to labels in a switch statement. Consider refactoring. |
3 |
845–954 |
org/apache/commons/imaging/formats/jpeg/JpegImagingParameters.java
Rule |
Violation |
Priority |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
3 |
24 |
org/apache/commons/imaging/formats/jpeg/decoder/Dct.java
Rule |
Violation |
Priority |
Line |
UseVarargs |
Consider using varargs for methods or constructors which take an array the last parameter. |
4 |
102 |
UseVarargs |
Consider using varargs for methods or constructors which take an array the last parameter. |
4 |
108 |
UseVarargs |
Consider using varargs for methods or constructors which take an array the last parameter. |
4 |
114 |
UseVarargs |
Consider using varargs for methods or constructors which take an array the last parameter. |
4 |
123 |
UseVarargs |
Consider using varargs for methods or constructors which take an array the last parameter. |
4 |
137 |
UseVarargs |
Consider using varargs for methods or constructors which take an array the last parameter. |
4 |
178 |
UseVarargs |
Consider using varargs for methods or constructors which take an array the last parameter. |
4 |
259 |
UseVarargs |
Consider using varargs for methods or constructors which take an array the last parameter. |
4 |
306 |
org/apache/commons/imaging/formats/jpeg/decoder/JpegDecoder.java
Rule |
Violation |
Priority |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
3 |
47–553 |
SingularField |
Perhaps 'block' could be replaced by a local variable. |
3 |
68 |
AvoidArrayLoops |
System.arraycopy is more efficient |
3 |
255–257 |
UseVarargs |
Consider using varargs for methods or constructors which take an array the last parameter. |
4 |
285 |
UseVarargs |
Consider using varargs for methods or constructors which take an array the last parameter. |
4 |
343 |
UseVarargs |
Consider using varargs for methods or constructors which take an array the last parameter. |
4 |
439 |
UseVarargs |
Consider using varargs for methods or constructors which take an array the last parameter. |
4 |
469 |
org/apache/commons/imaging/formats/jpeg/decoder/JpegInputStream.java
Rule |
Violation |
Priority |
Line |
UseVarargs |
Consider using varargs for methods or constructors which take an array the last parameter. |
4 |
31 |
org/apache/commons/imaging/formats/jpeg/decoder/ZigZag.java
Rule |
Violation |
Priority |
Line |
UseVarargs |
Consider using varargs for methods or constructors which take an array the last parameter. |
4 |
33 |
UseVarargs |
Consider using varargs for methods or constructors which take an array the last parameter. |
4 |
39 |
org/apache/commons/imaging/formats/jpeg/iptc/JpegIptcRewriter.java
Rule |
Violation |
Priority |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
3 |
41–372 |
org/apache/commons/imaging/formats/jpeg/segments/DhtSegment.java
Rule |
Violation |
Priority |
Line |
UseVarargs |
Consider using varargs for methods or constructors which take an array the last parameter. |
4 |
45 |
AvoidArrayLoops |
System.arraycopy is more efficient |
3 |
154–158 |
org/apache/commons/imaging/formats/jpeg/segments/DqtSegment.java
Rule |
Violation |
Priority |
Line |
UseVarargs |
Consider using varargs for methods or constructors which take an array the last parameter. |
4 |
38 |
org/apache/commons/imaging/formats/jpeg/segments/SofnSegment.java
Rule |
Violation |
Priority |
Line |
DataClass |
The class 'Component' is suspected to be a Data Class (WOC=0.000%, NOPA=4, NOAM=0, WMC=1) |
3 |
41–54 |
org/apache/commons/imaging/formats/jpeg/xmp/JpegRewriter.java
Rule |
Violation |
Priority |
Line |
AccessorMethodGeneration |
Avoid autogenerated methods to access private fields and methods of inner / outer classes |
3 |
83 |
AccessorMethodGeneration |
Avoid autogenerated methods to access private fields and methods of inner / outer classes |
3 |
84 |
org/apache/commons/imaging/formats/jpeg/xmp/JpegXmpRewriter.java
Rule |
Violation |
Priority |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
3 |
39–225 |
org/apache/commons/imaging/formats/pcx/PcxImagingParameters.java
Rule |
Violation |
Priority |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
3 |
24–54 |
DataClass |
The class 'PcxImagingParameters' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=6) |
3 |
24–54 |
org/apache/commons/imaging/formats/pcx/PcxWriter.java
Rule |
Violation |
Priority |
Line |
ImmutableField |
Private field 'bitDepthWanted' could be made final; it is only initialized in the declaration or constructor. |
3 |
32 |
ImmutableField |
Private field 'planesWanted' could be made final; it is only initialized in the declaration or constructor. |
3 |
33 |
org/apache/commons/imaging/formats/png/PngColorType.java
Rule |
Violation |
Priority |
Line |
UseVarargs |
Consider using varargs for methods or constructors which take an array the last parameter. |
4 |
38 |
org/apache/commons/imaging/formats/png/PngCrc.java
Rule |
Violation |
Priority |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
3 |
20–85 |
org/apache/commons/imaging/formats/png/PngImagingParameters.java
Rule |
Violation |
Priority |
Line |
DataClass |
The class 'PngImagingParameters' is suspected to be a Data Class (WOC=0.000%, NOPA=1, NOAM=12, WMC=13) |
3 |
27–120 |
AtLeastOneConstructor |
Each class should declare at least one constructor |
3 |
27–120 |
org/apache/commons/imaging/formats/png/PngWriter.java
Rule |
Violation |
Priority |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
3 |
34–629 |
org/apache/commons/imaging/formats/png/chunks/PngChunk.java
Rule |
Violation |
Priority |
Line |
DataClass |
The class 'PngChunk' is suspected to be a Data Class (WOC=0.000%, NOPA=7, NOAM=2, WMC=5) |
3 |
29–96 |
org/apache/commons/imaging/formats/png/chunks/PngChunkIccp.java
Rule |
Violation |
Priority |
Line |
SingularField |
Perhaps 'compressedProfile' could be replaced by a local variable. |
3 |
56 |
org/apache/commons/imaging/formats/png/chunks/PngChunkIhdr.java
Rule |
Violation |
Priority |
Line |
DataClass |
The class 'PngChunkIhdr' is suspected to be a Data Class (WOC=0.000%, NOPA=7, NOAM=0, WMC=6) |
3 |
29–58 |
org/apache/commons/imaging/formats/png/chunks/PngChunkItxt.java
Rule |
Violation |
Priority |
Line |
DataClass |
The class 'PngChunkItxt' is suspected to be a Data Class (WOC=25.000%, NOPA=4, NOAM=2, WMC=17) |
3 |
31–124 |
org/apache/commons/imaging/formats/png/chunks/PngChunkScal.java
Rule |
Violation |
Priority |
Line |
PreserveStackTrace |
New exception is thrown in catch block, original stack trace may be lost |
3 |
61 |
org/apache/commons/imaging/formats/png/chunks/PngChunkText.java
Rule |
Violation |
Priority |
Line |
DataClass |
The class 'PngChunkText' is suspected to be a Data Class (WOC=25.000%, NOPA=2, NOAM=2, WMC=7) |
3 |
28–76 |
org/apache/commons/imaging/formats/png/chunks/PngChunkZtxt.java
Rule |
Violation |
Priority |
Line |
DataClass |
The class 'PngChunkZtxt' is suspected to be a Data Class (WOC=25.000%, NOPA=2, NOAM=2, WMC=8) |
3 |
31–84 |
org/apache/commons/imaging/formats/png/scanlinefilters/ScanlineFilterNone.java
Rule |
Violation |
Priority |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
3 |
23–30 |
org/apache/commons/imaging/formats/png/scanlinefilters/ScanlineFilterUp.java
Rule |
Violation |
Priority |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
3 |
23–44 |
org/apache/commons/imaging/formats/pnm/PamWriter.java
Rule |
Violation |
Priority |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
3 |
27–73 |
org/apache/commons/imaging/formats/pnm/PnmImagingParameters.java
Rule |
Violation |
Priority |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
3 |
26–49 |
DataClass |
The class 'PnmImagingParameters' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) |
3 |
26–49 |
org/apache/commons/imaging/formats/psd/PsdImageParser.java
Rule |
Violation |
Priority |
Line |
TooManyStaticImports |
Too many static imports may lead to messy code |
3 |
17–709 |
UseVarargs |
Consider using varargs for methods or constructors which take an array the last parameter. |
4 |
171 |
org/apache/commons/imaging/formats/psd/PsdImagingParameters.java
Rule |
Violation |
Priority |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
3 |
26 |
org/apache/commons/imaging/formats/psd/dataparsers/DataParser.java
Rule |
Violation |
Priority |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
3 |
25–45 |
org/apache/commons/imaging/formats/psd/dataparsers/DataParserBitmap.java
Rule |
Violation |
Priority |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
3 |
21–46 |
org/apache/commons/imaging/formats/psd/dataparsers/DataParserCmyk.java
Rule |
Violation |
Priority |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
3 |
22–45 |
org/apache/commons/imaging/formats/psd/dataparsers/DataParserGrayscale.java
Rule |
Violation |
Priority |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
3 |
21–39 |
org/apache/commons/imaging/formats/psd/dataparsers/DataParserLab.java
Rule |
Violation |
Priority |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
3 |
22–40 |
org/apache/commons/imaging/formats/psd/dataparsers/DataParserRgb.java
Rule |
Violation |
Priority |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
3 |
21–41 |
org/apache/commons/imaging/formats/psd/dataparsers/DataParserStub.java
Rule |
Violation |
Priority |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
3 |
21–33 |
org/apache/commons/imaging/formats/rgbe/RgbeImagingParameters.java
Rule |
Violation |
Priority |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
3 |
24 |
org/apache/commons/imaging/formats/tiff/TiffDirectory.java
Rule |
Violation |
Priority |
Line |
CompareObjectsWithEquals |
Use equals() to compare object references. |
3 |
465 |
org/apache/commons/imaging/formats/tiff/TiffImageData.java
Rule |
Violation |
Priority |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
3 |
32–196 |
AccessorMethodGeneration |
Avoid autogenerated methods to access private fields and methods of inner / outer classes |
3 |
64 |
AccessorMethodGeneration |
Avoid autogenerated methods to access private fields and methods of inner / outer classes |
3 |
133 |
org/apache/commons/imaging/formats/tiff/TiffImageMetadata.java
Rule |
Violation |
Priority |
Line |
AccessorMethodGeneration |
Avoid autogenerated methods to access private fields and methods of inner / outer classes |
3 |
197 |
AccessorMethodGeneration |
Avoid autogenerated methods to access private fields and methods of inner / outer classes |
3 |
433 |
org/apache/commons/imaging/formats/tiff/TiffImagingParameters.java
Rule |
Violation |
Priority |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
3 |
26–261 |
DataClass |
The class 'TiffImagingParameters' is suspected to be a Data Class (WOC=23.810%, NOPA=0, NOAM=16, WMC=27) |
3 |
26–261 |
org/apache/commons/imaging/formats/tiff/TiffRasterDataFloat.java
Rule |
Violation |
Priority |
Line |
UseVarargs |
Consider using varargs for methods or constructors which take an array the last parameter. |
4 |
78 |
UseVarargs |
Consider using varargs for methods or constructors which take an array the last parameter. |
4 |
96 |
org/apache/commons/imaging/formats/tiff/TiffRasterDataInt.java
Rule |
Violation |
Priority |
Line |
UseVarargs |
Consider using varargs for methods or constructors which take an array the last parameter. |
4 |
76 |
UseVarargs |
Consider using varargs for methods or constructors which take an array the last parameter. |
4 |
94 |
org/apache/commons/imaging/formats/tiff/TiffReader.java
Rule |
Violation |
Priority |
Line |
TooManyStaticImports |
Too many static imports may lead to messy code |
3 |
17–490 |
org/apache/commons/imaging/formats/tiff/constants/GpsTagConstants.java
Rule |
Violation |
Priority |
Line |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
3 |
45–47 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
3 |
49 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
3 |
50 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
3 |
52–54 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
3 |
57–59 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
3 |
61 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
3 |
62 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
3 |
64–66 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
3 |
69–71 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
3 |
73 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
3 |
74 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
3 |
76–78 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
3 |
81–83 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
3 |
86–88 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
3 |
91–93 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
3 |
95 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
3 |
96 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
3 |
98–100 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
3 |
102 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
3 |
103 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
3 |
105–107 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
3 |
110–112 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
3 |
114 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
3 |
115 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
3 |
116 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
3 |
118–120 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
3 |
123–125 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
3 |
127 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
3 |
128 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
3 |
130–132 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
3 |
135–137 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
3 |
139 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
3 |
140 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
3 |
142–144 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
3 |
147–149 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
3 |
152–154 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
3 |
156 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
3 |
157 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
3 |
159–161 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
3 |
164–166 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
3 |
168 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
3 |
169 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
3 |
171–173 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
3 |
176–178 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
3 |
180 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
3 |
181 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
3 |
183–185 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
3 |
188–190 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
3 |
192 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
3 |
193 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
3 |
194 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
3 |
196–198 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
3 |
201–203 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
3 |
206–208 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
3 |
211–213 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
3 |
216–218 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
3 |
220 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
3 |
221 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
3 |
224–240 |
org/apache/commons/imaging/formats/tiff/constants/TiffDirectoryType.java
Rule |
Violation |
Priority |
Line |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
3 |
65 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
3 |
66 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
3 |
67 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
3 |
68 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
3 |
69 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
3 |
70 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
3 |
71 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
3 |
72 |
FieldDeclarationsShouldBeAtStartOfClass |
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. |
3 |
73 |
org/apache/commons/imaging/formats/tiff/datareaders/BitInputStream.java
Rule |
Violation |
Priority |
Line |
CompareObjectsWithEquals |
Use equals() to compare object references. |
3 |
97 |
org/apache/commons/imaging/formats/tiff/fieldtypes/FieldTypeLong.java
Rule |
Violation |
Priority |
Line |
AvoidArrayLoops |
System.arraycopy is more efficient |
3 |
54–56 |
org/apache/commons/imaging/formats/tiff/photometricinterpreters/PhotometricInterpreterPalette.java
Rule |
Violation |
Priority |
Line |
UseVarargs |
Consider using varargs for methods or constructors which take an array the last parameter. |
4 |
35 |
org/apache/commons/imaging/formats/tiff/taginfos/TagInfoXpString.java
Rule |
Violation |
Priority |
Line |
CompareObjectsWithEquals |
Use equals() to compare object references. |
3 |
52 |
org/apache/commons/imaging/formats/tiff/write/TiffImageWriterLossless.java
Rule |
Violation |
Priority |
Line |
CloseResource |
Ensure that resources like this BufferOutputStream object are closed after use |
3 |
300 |
CloseResource |
Ensure that resources like this BufferOutputStream object are closed after use |
3 |
301 |
org/apache/commons/imaging/formats/tiff/write/TiffOutputItem.java
Rule |
Violation |
Priority |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
3 |
24–77 |
org/apache/commons/imaging/formats/wbmp/WbmpImageParser.java
Rule |
Violation |
Priority |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
3 |
43–252 |
org/apache/commons/imaging/formats/wbmp/WbmpImagingParameters.java
Rule |
Violation |
Priority |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
3 |
24 |
org/apache/commons/imaging/formats/xbm/XbmImageParser.java
Rule |
Violation |
Priority |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
3 |
49–400 |
SimplifyStartsWith |
This call to String.startsWith can be rewritten using String.charAt(0) |
3 |
181 |
org/apache/commons/imaging/formats/xbm/XbmImagingParameters.java
Rule |
Violation |
Priority |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
3 |
24 |
org/apache/commons/imaging/formats/xpm/XpmImageParser.java
Rule |
Violation |
Priority |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
3 |
54–726 |
CloseResource |
Ensure that resources like this InputStream object are closed after use |
3 |
74 |
org/apache/commons/imaging/formats/xpm/XpmImagingParameters.java
Rule |
Violation |
Priority |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
3 |
23 |
org/apache/commons/imaging/icc/IccProfileInfo.java
Rule |
Violation |
Priority |
Line |
UseVarargs |
Consider using varargs for methods or constructors which take an array the last parameter. |
4 |
53 |
org/apache/commons/imaging/icc/IccTagDataTypes.java
Rule |
Violation |
Priority |
Line |
AccessorMethodGeneration |
Avoid autogenerated methods to access private fields and methods of inner / outer classes |
3 |
45 |
AccessorMethodGeneration |
Avoid autogenerated methods to access private fields and methods of inner / outer classes |
3 |
84 |
AccessorMethodGeneration |
Avoid autogenerated methods to access private fields and methods of inner / outer classes |
3 |
108 |
org/apache/commons/imaging/palette/ColorSpaceSubset.java
Rule |
Violation |
Priority |
Line |
UseVarargs |
Consider using varargs for methods or constructors which take an array the last parameter. |
4 |
51 |
UseVarargs |
Consider using varargs for methods or constructors which take an array the last parameter. |
4 |
135 |
org/apache/commons/imaging/palette/LongestAxisMedianCut.java
Rule |
Violation |
Priority |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
3 |
25–120 |
org/apache/commons/imaging/palette/MedianCutPalette.java
Rule |
Violation |
Priority |
Line |
UseVarargs |
Consider using varargs for methods or constructors which take an array the last parameter. |
4 |
22 |
org/apache/commons/imaging/palette/MostPopulatedBoxesMedianCut.java
Rule |
Violation |
Priority |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
3 |
24–133 |
org/apache/commons/imaging/palette/PaletteFactory.java
Rule |
Violation |
Priority |
Line |
AtLeastOneConstructor |
Each class should declare at least one constructor |
3 |
35–529 |
AccessorMethodGeneration |
Avoid autogenerated methods to access private fields and methods of inner / outer classes |
3 |
233 |
AccessorMethodGeneration |
Avoid autogenerated methods to access private fields and methods of inner / outer classes |
3 |
234 |
AccessorMethodGeneration |
Avoid autogenerated methods to access private fields and methods of inner / outer classes |
3 |
300 |
AccessorMethodGeneration |
Avoid autogenerated methods to access private fields and methods of inner / outer classes |
3 |
301 |
UseVarargs |
Consider using varargs for methods or constructors which take an array the last parameter. |
4 |
478 |
org/apache/commons/imaging/palette/SimplePalette.java
Rule |
Violation |
Priority |
Line |
UseVarargs |
Consider using varargs for methods or constructors which take an array the last parameter. |
4 |
22 |
|