The following document contains the results of Checkstyle. 
| Violation | Message | Line |
|---|---|---|
| Total number of methods is 72 (max allowed is 40). | 60 | |
| Expected an @return tag. | 971 |
| Violation | Message | Line |
|---|---|---|
| Inner assignments should be avoided. | 124 | |
| Must have at least one statement. | 239 |
| Violation | Message | Line |
|---|---|---|
| Unused import - java.io.FileInputStream. | 22 | |
| Unused import - java.io.FileNotFoundException. | 23 | |
| Unused import - java.io.UnsupportedEncodingException. | 30 | |
| Unused import - javax.xml.transform.sax.SAXSource. | 49 | |
| Unused import - org.owasp.dependencycheck.utils.NonClosingStream. | 60 | |
| Unused import - org.owasp.dependencycheck.xml.pom.PomParser. | 62 | |
| Unused import - org.xml.sax.InputSource. | 63 | |
| Variable 'model' should be declared final. | 423 |
| Violation | Message | Line |
|---|---|---|
| Variable 'file' should be declared final. | 114 | |
| Variable 'sb' should be declared final. | 116 |
| Violation | Message | Line |
|---|---|---|
| Variable 'url' should be declared final. | 173 |
| Violation | Message | Line |
|---|---|---|
| Total number of methods is 56 (max allowed is 40). | 43 |
| Violation | Message | Line |
|---|---|---|
| Line does not match expected header line of '^ \* This file is part of dependency-check-(ant|core|cli|maven)\.\s*$'. | 2 | |
| Missing a Javadoc comment. | 24 | |
| Expected @param tag for 'name'. | 33 | |
| Expected @param tag for 'url'. | 33 |
| Violation | Message | Line |
|---|---|---|
| Must have at least one statement. | 158 | |
| Must have at least one statement. | 169 |
| Violation | Message | Line |
|---|---|---|
| Using the '.*' form of import should be avoided - org.owasp.dependencycheck.suppression.*. | 20 |
| Violation | Message | Line |
|---|---|---|
| Unused import - java.util.List. | 27 | |
| Unable to get class information for @throws tag 'SuppressionParseException'. | 80 | |
| Unused @throws tag for 'SuppressionParseException'. | 80 | |
| Expected @throws tag for 'PomParseException'. | 82 |
| Violation | Message | Line |
|---|---|---|
| Variable 'parser' should be declared final. | 58 |