The following document contains the results of PMD 6.13.0.
Rule | Violation | Line |
---|---|---|
AvoidReassigningParameters | Avoid reassigning parameters such as 'request' | 90 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 56–134 |
AvoidUsingHardCodedIP | Do not hard code the IP address | 68 |
UseStringBufferForStringAppends | Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings | 120 |
UselessOverridingMethod | Overriding method merely calls super | 130–133 |
Rule | Violation | Line |
---|---|---|
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 47–58 |
CommentRequired | Public method and constructor comments are required | 52–57 |
Rule | Violation | Line |
---|---|---|
UnusedImports | Avoid unused imports such as 'org.apache.solr.common.util.FastInputStream' | 40 |
UnusedImports | Avoid unused imports such as 'javax.servlet.Filter' | 45 |
UnusedImports | Avoid unused imports such as 'javax.servlet.ServletInputStream' | 49 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedImports | Avoid unused imports such as 'org.apache.solr.common.util.FastInputStream' | 4 | 40 |
UnusedImports | Avoid unused imports such as 'javax.servlet.Filter' | 4 | 45 |
UnusedImports | Avoid unused imports such as 'javax.servlet.ServletInputStream' | 4 | 49 |
CommentRequired | Header comments are required | 3 | 56–134 |
AvoidUsingHardCodedIP | Do not hard code the IP address | 3 | 68 |
AvoidReassigningParameters | Avoid reassigning parameters such as 'request' | 2 | 90 |
UseStringBufferForStringAppends | Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings | 3 | 120 |
UselessOverridingMethod | Overriding method merely calls super | 3 | 130–133 |
Rule | Violation | Priority | Line |
---|---|---|---|
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 47–58 |
CommentRequired | Public method and constructor comments are required | 3 | 52–57 |