FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 1.3.9

Threshold is medium

Effort is min

Summary

ClassesBugsErrorsMissing Classes
251300

org.liquibase.maven.plugins.AbstractLiquibaseMojo

BugCategoryDetailsLinePriority
Redundant nullcheck of currentValue, which is known to be non-null in org.liquibase.maven.plugins.AbstractLiquibaseMojo.isCurrentFieldValueSpecified(Field)STYLERCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE482Medium
Exception is caught when Exception is not thrown in org.liquibase.maven.plugins.AbstractLiquibaseMojo.parsePropertiesFile(InputStream)STYLEREC_CATCH_EXCEPTION460Medium
Method org.liquibase.maven.plugins.AbstractLiquibaseMojo.parsePropertiesFile(InputStream) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR453Medium

org.liquibase.maven.plugins.LiquibaseChangeLogSyncSQLMojo

BugCategoryDetailsLinePriority
org.liquibase.maven.plugins.LiquibaseChangeLogSyncSQLMojo.createLiquibase(ResourceAccessor, Database) ignores exceptional return value of java.io.File.mkdirs()BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE62Medium

org.liquibase.maven.plugins.LiquibaseDBDocMojo

BugCategoryDetailsLinePriority
Unwritten field: org.liquibase.maven.plugins.LiquibaseDBDocMojo.outputDirectoryCORRECTNESSUWF_UNWRITTEN_FIELD21Medium

org.liquibase.maven.plugins.LiquibaseDatabaseDiff

BugCategoryDetailsLinePriority
Unwritten field: org.liquibase.maven.plugins.LiquibaseDatabaseDiff.referenceServerCORRECTNESSUWF_UNWRITTEN_FIELD83Medium

org.liquibase.maven.plugins.LiquibaseMigrateSQL

BugCategoryDetailsLinePriority
org.liquibase.maven.plugins.LiquibaseMigrateSQL.createLiquibase(ResourceAccessor, Database) ignores exceptional return value of java.io.File.mkdirs()BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE67Medium

org.liquibase.maven.plugins.LiquibaseRollbackSQL

BugCategoryDetailsLinePriority
org.liquibase.maven.plugins.LiquibaseRollbackSQL.createLiquibase(ResourceAccessor, Database) ignores exceptional return value of java.io.File.mkdirs()BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE54Medium

org.liquibase.maven.plugins.LiquibaseTag

BugCategoryDetailsLinePriority
Unwritten field: org.liquibase.maven.plugins.LiquibaseTag.tagCORRECTNESSUWF_UNWRITTEN_FIELD25Medium

org.liquibase.maven.plugins.LiquibaseUpdateSQL

BugCategoryDetailsLinePriority
org.liquibase.maven.plugins.LiquibaseUpdateSQL.createLiquibase(ResourceAccessor, Database) ignores exceptional return value of java.io.File.mkdirs()BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE56Medium

org.liquibase.maven.plugins.MavenUtils

BugCategoryDetailsLinePriority
org.liquibase.maven.plugins.MavenUtils.addArtifact(Set, Artifact, Log, boolean) is or uses a map or set of URLs, which can be a performance hogPERFORMANCEDMI_COLLECTION_OF_URLS86High
org.liquibase.maven.plugins.MavenUtils.addFile(Set, File, Log, boolean) is or uses a map or set of URLs, which can be a performance hogPERFORMANCEDMI_COLLECTION_OF_URLS105High
org.liquibase.maven.plugins.MavenUtils.getArtifactClassloader(MavenProject, boolean, boolean, Class, Log, boolean) creates a java.net.URLClassLoader classloader, which should be performed within a doPrivileged blockBAD_PRACTICEDP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED71Medium