SpotBugs Bug Detector Report
The following document contains the results of SpotBugs
SpotBugs Version is 4.9.8
Threshold is medium
Effort is max
Summary
| Classes | Bugs | Errors | Missing Classes |
|---|---|---|---|
| 2 | 17 | 0 | 0 |
Files
| Class | Bugs |
|---|---|
| com.github.hazendaz.maven.smartsprites_maven_plugin.HelpMojo | 2 |
| net.jangaroo.smartsprites.maven.SmartSpritesMojo | 15 |
com.github.hazendaz.maven.smartsprites_maven_plugin.HelpMojo
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Instance field com.github.hazendaz.maven.smartsprites_maven_plugin.HelpMojo.goal likely could be defined as static | CORRECTNESS | SPP_FIELD_COULD_BE_STATIC | Not available | Medium |
| The use of DocumentBuilder.parse(...) (DocumentBuilder) is vulnerable to XML External Entity attacks | SECURITY | XXE_DOCUMENT | 77 | Medium |
net.jangaroo.smartsprites.maven.SmartSpritesMojo
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Method net.jangaroo.smartsprites.maven.SmartSpritesMojo.execute() makes literal string comparisons passing the literal as an argument | STYLE | LSC_LITERAL_STRING_COMPARISON | 192 | High |
| Method net.jangaroo.smartsprites.maven.SmartSpritesMojo.execute() makes literal string comparisons passing the literal as an argument | STYLE | LSC_LITERAL_STRING_COMPARISON | 193 | High |
| Method net.jangaroo.smartsprites.maven.SmartSpritesMojo.execute() makes literal string comparisons passing the literal as an argument | STYLE | LSC_LITERAL_STRING_COMPARISON | 194 | High |
| Method net.jangaroo.smartsprites.maven.SmartSpritesMojo.execute() makes literal string comparisons passing the literal as an argument | STYLE | LSC_LITERAL_STRING_COMPARISON | 207 | High |
| Method net.jangaroo.smartsprites.maven.SmartSpritesMojo.execute() makes literal string comparisons passing the literal as an argument | STYLE | LSC_LITERAL_STRING_COMPARISON | 220 | High |
| Method net.jangaroo.smartsprites.maven.SmartSpritesMojo.execute() makes literal string comparisons passing the literal as an argument | STYLE | LSC_LITERAL_STRING_COMPARISON | 229 | High |
| Method net.jangaroo.smartsprites.maven.SmartSpritesMojo.execute() makes literal string comparisons passing the literal as an argument | STYLE | LSC_LITERAL_STRING_COMPARISON | 240 | High |
| Method net.jangaroo.smartsprites.maven.SmartSpritesMojo.execute() makes literal string comparisons passing the literal as an argument | STYLE | LSC_LITERAL_STRING_COMPARISON | 245 | High |
| Method net.jangaroo.smartsprites.maven.SmartSpritesMojo.execute() makes literal string comparisons passing the literal as an argument | STYLE | LSC_LITERAL_STRING_COMPARISON | 251 | High |
| Instance field net.jangaroo.smartsprites.maven.SmartSpritesMojo.cssFileEncoding likely could be defined as static | CORRECTNESS | SPP_FIELD_COULD_BE_STATIC | Not available | Medium |
| Instance field net.jangaroo.smartsprites.maven.SmartSpritesMojo.cssFileSuffix likely could be defined as static | CORRECTNESS | SPP_FIELD_COULD_BE_STATIC | Not available | Medium |
| Instance field net.jangaroo.smartsprites.maven.SmartSpritesMojo.logLevel likely could be defined as static | CORRECTNESS | SPP_FIELD_COULD_BE_STATIC | Not available | Medium |
| Instance field net.jangaroo.smartsprites.maven.SmartSpritesMojo.spritePngDepth likely could be defined as static | CORRECTNESS | SPP_FIELD_COULD_BE_STATIC | Not available | Medium |
| Instance field net.jangaroo.smartsprites.maven.SmartSpritesMojo.workingMode likely could be defined as static | CORRECTNESS | SPP_FIELD_COULD_BE_STATIC | Not available | Medium |
| Field only ever set to null: net.jangaroo.smartsprites.maven.SmartSpritesMojo.cssFiles | CORRECTNESS | UWF_NULL_FIELD | 208 | Medium |


