The following document contains the results of FindBugs Report
FindBugs Version is 2.0.1
Threshold is medium
Effort is min
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.apache.maven.model.converter.Maven1Converter.loadV3Pom(File): new java.io.FileReader(File) | I18N | DM_DEFAULT_ENCODING | 198 | High |
Found reliance on default encoding in org.apache.maven.model.converter.Maven1Converter.loadV3Pom(File): new java.io.FileReader(File) | I18N | DM_DEFAULT_ENCODING | 202 | High |
Found reliance on default encoding in org.apache.maven.model.converter.Maven1Converter.writeV4Pom(Model): new java.io.FileWriter(File) | I18N | DM_DEFAULT_ENCODING | 315 | High |
Read of unwritten field converters in org.apache.maven.model.converter.Maven1Converter.execute() | CORRECTNESS | NP_UNWRITTEN_FIELD | 126 | Medium |
Read of unwritten field pluginRelocatorManager in org.apache.maven.model.converter.Maven1Converter.execute() | CORRECTNESS | NP_UNWRITTEN_FIELD | 134 | Medium |
org.apache.maven.model.converter.Maven1Converter.loadV3Pom(File) may fail to clean up java.io.Reader | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION | 198 | Medium |
Unwritten field: org.apache.maven.model.converter.Maven1Converter.converters | CORRECTNESS | UWF_UNWRITTEN_FIELD | 126 | Medium |
Unwritten field: org.apache.maven.model.converter.Maven1Converter.pluginRelocatorManager | CORRECTNESS | UWF_UNWRITTEN_FIELD | 134 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.maven.model.converter.PluginComparator implements Comparator but not Serializable | BAD_PRACTICE | SE_COMPARATOR_SHOULD_BE_SERIALIZABLE | 33-107 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Dead store to v3ModelProperties in org.apache.maven.model.converter.PomV3ToV4Translator.warnOfUnsupportedMainModelElements(Model) | STYLE | DLS_DEAD_LOCAL_STORE | 222 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.maven.model.converter.ReportPluginComparator implements Comparator but not Serializable | BAD_PRACTICE | SE_COMPARATOR_SHOULD_BE_SERIALIZABLE | 33-107 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Read of unwritten field translator in org.apache.maven.model.converter.V3PomRewriter.getWarnings() | CORRECTNESS | NP_UNWRITTEN_FIELD | 82 | Medium |
Read of unwritten field translator in org.apache.maven.model.converter.V3PomRewriter.rewrite(Reader, Writer, boolean, String, String, String, String) | CORRECTNESS | NP_UNWRITTEN_FIELD | 61 | Medium |
Unwritten field: org.apache.maven.model.converter.V3PomRewriter.translator | CORRECTNESS | UWF_UNWRITTEN_FIELD | 61 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Read of unwritten field translator in org.apache.maven.model.converter.V4PomRewriter.getWarnings() | CORRECTNESS | NP_UNWRITTEN_FIELD | 73 | Medium |
Read of unwritten field translator in org.apache.maven.model.converter.V4PomRewriter.rewrite(Reader, Writer, boolean, String, String, String, String) | CORRECTNESS | NP_UNWRITTEN_FIELD | 61 | Medium |
Unwritten field: org.apache.maven.model.converter.V4PomRewriter.translator | CORRECTNESS | UWF_UNWRITTEN_FIELD | 61 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.maven.model.converter.plugins.PropertyUtils.invertBoolean(String) invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead | PERFORMANCE | DM_BOOLEAN_CTOR | 68 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Read of unwritten field pluginRelocators in org.apache.maven.model.converter.relocators.DefaultPluginRelocatorManager.getPluginRelocator(String) | CORRECTNESS | NP_UNWRITTEN_FIELD | 44 | Medium |
Read of unwritten field pluginRelocators in org.apache.maven.model.converter.relocators.DefaultPluginRelocatorManager.getPluginRelocators() | CORRECTNESS | NP_UNWRITTEN_FIELD | 56 | Medium |
Unwritten field: org.apache.maven.model.converter.relocators.DefaultPluginRelocatorManager.pluginRelocators | CORRECTNESS | UWF_UNWRITTEN_FIELD | 44 | Medium |