PMD Results
The following document contains the results of PMD 6.55.0.
Violations By Priority
Priority 1
Apache Commons FileUpload Core - org/apache/commons/fileupload2/core/FileItemInputIteratorImpl.java
Rule |
Violation |
Line |
ConstructorCallsOverridableMethod |
Overridable method 'getMultiPartInput' called during object construction (call stack: [findNextItem, getMultiPartInput]) |
113 |
Priority 3
Apache Commons FileUpload Core - org/apache/commons/fileupload2/core/AbstractFileUpload.java
Rule |
Violation |
Line |
AvoidLiteralsInIfCondition |
Avoid using Literals in Conditional Statements |
387 |
Apache Commons FileUpload Core - org/apache/commons/fileupload2/core/DiskFileItem.java
Rule |
Violation |
Line |
AvoidFieldNameMatchingMethodName |
Field isFormField has the same name as a method |
201 |
NullAssignment |
Assigning an Object to null is a code smell. Consider refactoring. |
281 |
Apache Commons FileUpload Core - org/apache/commons/fileupload2/core/FileItemInputImpl.java
Rule |
Violation |
Line |
CloseResource |
Ensure that resources like this ItemInputStream object are closed after use |
98 |
Apache Commons FileUpload Core - org/apache/commons/fileupload2/core/FileItemInputIteratorImpl.java
Rule |
Violation |
Line |
NullAssignment |
Assigning an Object to null is a code smell. Consider refactoring. |
128 |
NullAssignment |
Assigning an Object to null is a code smell. Consider refactoring. |
146 |
CloseResource |
Ensure that resources like this InputStream object are closed after use |
243 |
Apache Commons FileUpload Core - org/apache/commons/fileupload2/core/MultipartInput.java
Rule |
Violation |
Line |
AssignmentInOperand |
Avoid assignments in operands |
886 |
Apache Commons FileUpload Core - org/apache/commons/fileupload2/core/ParameterParser.java
Rule |
Violation |
Line |
NullAssignment |
Assigning an Object to null is a code smell. Consider refactoring. |
172 |
Apache Commons FileUpload Core - org/apache/commons/fileupload2/core/RFC2231Utils.java
Rule |
Violation |
Line |
AvoidLiteralsInIfCondition |
Avoid using Literals in Conditional Statements |
100 |
Files
Apache Commons FileUpload Core - org/apache/commons/fileupload2/core/AbstractFileUpload.java
Rule |
Violation |
Priority |
Line |
AvoidLiteralsInIfCondition |
Avoid using Literals in Conditional Statements |
3 |
387 |
Apache Commons FileUpload Core - org/apache/commons/fileupload2/core/DiskFileItem.java
Rule |
Violation |
Priority |
Line |
AvoidFieldNameMatchingMethodName |
Field isFormField has the same name as a method |
3 |
201 |
NullAssignment |
Assigning an Object to null is a code smell. Consider refactoring. |
3 |
281 |
Apache Commons FileUpload Core - org/apache/commons/fileupload2/core/FileItemInputImpl.java
Rule |
Violation |
Priority |
Line |
CloseResource |
Ensure that resources like this ItemInputStream object are closed after use |
3 |
98 |
Apache Commons FileUpload Core - org/apache/commons/fileupload2/core/FileItemInputIteratorImpl.java
Rule |
Violation |
Priority |
Line |
ConstructorCallsOverridableMethod |
Overridable method 'getMultiPartInput' called during object construction (call stack: [findNextItem, getMultiPartInput]) |
1 |
113 |
NullAssignment |
Assigning an Object to null is a code smell. Consider refactoring. |
3 |
128 |
NullAssignment |
Assigning an Object to null is a code smell. Consider refactoring. |
3 |
146 |
CloseResource |
Ensure that resources like this InputStream object are closed after use |
3 |
243 |
Apache Commons FileUpload Core - org/apache/commons/fileupload2/core/MultipartInput.java
Rule |
Violation |
Priority |
Line |
AssignmentInOperand |
Avoid assignments in operands |
3 |
886 |
Apache Commons FileUpload Core - org/apache/commons/fileupload2/core/ParameterParser.java
Rule |
Violation |
Priority |
Line |
NullAssignment |
Assigning an Object to null is a code smell. Consider refactoring. |
3 |
172 |
Apache Commons FileUpload Core - org/apache/commons/fileupload2/core/RFC2231Utils.java
Rule |
Violation |
Priority |
Line |
AvoidLiteralsInIfCondition |
Avoid using Literals in Conditional Statements |
3 |
100 |
|