FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 2.0.1

Threshold is medium

Effort is min

Summary

ClassesBugsErrorsMissing Classes
532100

org.apache.maven.model.converter.Maven1Converter

BugCategoryDetailsLinePriority
Found reliance on default encoding in org.apache.maven.model.converter.Maven1Converter.loadV3Pom(File): new java.io.FileReader(File)I18NDM_DEFAULT_ENCODING198High
Found reliance on default encoding in org.apache.maven.model.converter.Maven1Converter.loadV3Pom(File): new java.io.FileReader(File)I18NDM_DEFAULT_ENCODING202High
Found reliance on default encoding in org.apache.maven.model.converter.Maven1Converter.writeV4Pom(Model): new java.io.FileWriter(File)I18NDM_DEFAULT_ENCODING315High
Read of unwritten field converters in org.apache.maven.model.converter.Maven1Converter.execute()CORRECTNESSNP_UNWRITTEN_FIELD126Medium
Read of unwritten field pluginRelocatorManager in org.apache.maven.model.converter.Maven1Converter.execute()CORRECTNESSNP_UNWRITTEN_FIELD134Medium
org.apache.maven.model.converter.Maven1Converter.loadV3Pom(File) may fail to clean up java.io.ReaderEXPERIMENTALOBL_UNSATISFIED_OBLIGATION198Medium
Unwritten field: org.apache.maven.model.converter.Maven1Converter.convertersCORRECTNESSUWF_UNWRITTEN_FIELD126Medium
Unwritten field: org.apache.maven.model.converter.Maven1Converter.pluginRelocatorManagerCORRECTNESSUWF_UNWRITTEN_FIELD134Medium

org.apache.maven.model.converter.PluginComparator

BugCategoryDetailsLinePriority
org.apache.maven.model.converter.PluginComparator implements Comparator but not SerializableBAD_PRACTICESE_COMPARATOR_SHOULD_BE_SERIALIZABLE33-107Medium

org.apache.maven.model.converter.PomV3ToV4Translator

BugCategoryDetailsLinePriority
Dead store to v3ModelProperties in org.apache.maven.model.converter.PomV3ToV4Translator.warnOfUnsupportedMainModelElements(Model)STYLEDLS_DEAD_LOCAL_STORE222Medium

org.apache.maven.model.converter.ReportPluginComparator

BugCategoryDetailsLinePriority
org.apache.maven.model.converter.ReportPluginComparator implements Comparator but not SerializableBAD_PRACTICESE_COMPARATOR_SHOULD_BE_SERIALIZABLE33-107Medium

org.apache.maven.model.converter.V3PomRewriter

BugCategoryDetailsLinePriority
Read of unwritten field translator in org.apache.maven.model.converter.V3PomRewriter.getWarnings()CORRECTNESSNP_UNWRITTEN_FIELD82Medium
Read of unwritten field translator in org.apache.maven.model.converter.V3PomRewriter.rewrite(Reader, Writer, boolean, String, String, String, String)CORRECTNESSNP_UNWRITTEN_FIELD61Medium
Unwritten field: org.apache.maven.model.converter.V3PomRewriter.translatorCORRECTNESSUWF_UNWRITTEN_FIELD61Medium

org.apache.maven.model.converter.V4PomRewriter

BugCategoryDetailsLinePriority
Read of unwritten field translator in org.apache.maven.model.converter.V4PomRewriter.getWarnings()CORRECTNESSNP_UNWRITTEN_FIELD73Medium
Read of unwritten field translator in org.apache.maven.model.converter.V4PomRewriter.rewrite(Reader, Writer, boolean, String, String, String, String)CORRECTNESSNP_UNWRITTEN_FIELD61Medium
Unwritten field: org.apache.maven.model.converter.V4PomRewriter.translatorCORRECTNESSUWF_UNWRITTEN_FIELD61Medium

org.apache.maven.model.converter.plugins.PropertyUtils

BugCategoryDetailsLinePriority
org.apache.maven.model.converter.plugins.PropertyUtils.invertBoolean(String) invokes inefficient Boolean constructor; use Boolean.valueOf(...) insteadPERFORMANCEDM_BOOLEAN_CTOR68Medium

org.apache.maven.model.converter.relocators.DefaultPluginRelocatorManager

BugCategoryDetailsLinePriority
Read of unwritten field pluginRelocators in org.apache.maven.model.converter.relocators.DefaultPluginRelocatorManager.getPluginRelocator(String)CORRECTNESSNP_UNWRITTEN_FIELD44Medium
Read of unwritten field pluginRelocators in org.apache.maven.model.converter.relocators.DefaultPluginRelocatorManager.getPluginRelocators()CORRECTNESSNP_UNWRITTEN_FIELD56Medium
Unwritten field: org.apache.maven.model.converter.relocators.DefaultPluginRelocatorManager.pluginRelocatorsCORRECTNESSUWF_UNWRITTEN_FIELD44Medium