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
202100

org.apache.tomcat.maven.plugin.tomcat7.AbstractWarCatalinaMojo

BugCategoryDetailsLinePriority
Champ jamais écrit : org.apache.tomcat.maven.plugin.tomcat7.AbstractWarCatalinaMojo.packagingCORRECTNESSUWF_UNWRITTEN_FIELD85Medium

org.apache.tomcat.maven.plugin.tomcat7.deploy.AbstractDeployMojo

BugCategoryDetailsLinePriority
Champ jamais écrit : org.apache.tomcat.maven.plugin.tomcat7.deploy.AbstractDeployMojo.contextFileCORRECTNESSUWF_UNWRITTEN_FIELD126Medium
Champ jamais écrit : org.apache.tomcat.maven.plugin.tomcat7.deploy.AbstractDeployMojo.modeCORRECTNESSUWF_UNWRITTEN_FIELD85Medium
Champ jamais écrit : org.apache.tomcat.maven.plugin.tomcat7.deploy.AbstractDeployMojo.tagCORRECTNESSUWF_UNWRITTEN_FIELD162Medium

org.apache.tomcat.maven.plugin.tomcat7.deploy.AbstractDeployWarMojo

BugCategoryDetailsLinePriority
Lecture d'un champ jamais alimenté dans org.apache.tomcat.maven.plugin.tomcat7.deploy.AbstractDeployWarMojo.deployWar()CORRECTNESSNP_UNWRITTEN_FIELD88Medium
Lecture d'un champ jamais alimenté dans org.apache.tomcat.maven.plugin.tomcat7.deploy.AbstractDeployWarMojo.validateWarFile()CORRECTNESSNP_UNWRITTEN_FIELD70Medium
Method org.apache.tomcat.maven.plugin.tomcat7.deploy.AbstractDeployWarMojo.deployWar() may fail to clean up java.io.InputStreamEXPERIMENTALOBL_UNSATISFIED_OBLIGATION88Medium
Champ jamais écrit : org.apache.tomcat.maven.plugin.tomcat7.deploy.AbstractDeployWarMojo.warFileCORRECTNESSUWF_UNWRITTEN_FIELD60Medium

org.apache.tomcat.maven.plugin.tomcat7.run.AbstractExecWarMojo

BugCategoryDetailsLinePriority
org.apache.tomcat.maven.plugin.tomcat7.run.AbstractExecWarMojo.execute() ignores exceptional return value of java.io.File.createNewFile()BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE277Medium
org.apache.tomcat.maven.plugin.tomcat7.run.AbstractExecWarMojo.execute() ignores exceptional return value of java.io.File.delete()BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE248Medium
org.apache.tomcat.maven.plugin.tomcat7.run.AbstractExecWarMojo.execute() ignores exceptional return value of java.io.File.mkdirs()BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE268Medium
Champ inutilisé : org.apache.tomcat.maven.plugin.tomcat7.run.AbstractExecWarMojo.tomcatConfigurationFilesDirectoryPERFORMANCEUUF_UNUSED_FIELDNot availableMedium

org.apache.tomcat.maven.plugin.tomcat7.run.AbstractRunMojo

BugCategoryDetailsLinePriority
Alimentation à perte d'une variable locale dans la méthode org.apache.tomcat.maven.plugin.tomcat7.run.AbstractRunMojo.startContainer()STYLEDLS_DEAD_LOCAL_STORE719Medium
org.apache.tomcat.maven.plugin.tomcat7.run.AbstractRunMojo.createDependencyContexts(Tomcat) ignores exceptional return value of java.io.File.mkdir()BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE901Medium
org.apache.tomcat.maven.plugin.tomcat7.run.AbstractRunMojo.initConfiguration() ignores exceptional return value of java.io.File.mkdir()BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE557Medium
org.apache.tomcat.maven.plugin.tomcat7.run.AbstractRunMojo.initConfiguration() ignores exceptional return value of java.io.File.mkdirs()BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE554Medium
L'utilisation de GetResource dans org.apache.tomcat.maven.plugin.tomcat7.run.AbstractRunMojo.copyFile(String, File) peut-être instable si la classe est étendueBAD_PRACTICEUI_INHERITANCE_UNSAFE_GETRESOURCE625Medium
La méthode org.apache.tomcat.maven.plugin.tomcat7.run.AbstractRunMojo.waitIndefinitely() contient un wait() non conditionnéMT_CORRECTNESSUW_UNCOND_WAIT835Medium
wait() en dehors d'une boucle dans org.apache.tomcat.maven.plugin.tomcat7.run.AbstractRunMojo.waitIndefinitely()MT_CORRECTNESSWA_NOT_IN_LOOP835Medium

org.apache.tomcat.maven.plugin.tomcat7.run.AbstractRunWarMojo

BugCategoryDetailsLinePriority
Champ jamais écrit : org.apache.tomcat.maven.plugin.tomcat7.run.AbstractRunWarMojo.contextFileCORRECTNESSUWF_UNWRITTEN_FIELD74Medium
Champ jamais écrit : org.apache.tomcat.maven.plugin.tomcat7.run.AbstractRunWarMojo.warDirectoryCORRECTNESSUWF_UNWRITTEN_FIELD65Medium