FindBugs Bug Detector Report
The following document contains the results of FindBugs
FindBugs Version is 3.0.1
Threshold is medium
Effort is min
Summary
Classes |
Bugs |
Errors |
Missing Classes |
55 |
50 |
0 |
0 |
org.jomc.mojo.AbstractAttachMojo
Bug |
Category |
Details |
Line |
Priority |
Unwritten field: org.jomc.mojo.AbstractAttachMojo.mavenProject |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
127 |
Medium |
Unwritten field: org.jomc.mojo.AbstractAttachMojo.mavenProjectHelper |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
155 |
Medium |
Unwritten field: org.jomc.mojo.AbstractAttachMojo.mavenSession |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
141 |
Medium |
Unwritten field: org.jomc.mojo.AbstractAttachMojo.sessionDirectory |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
169 |
Medium |
org.jomc.mojo.AbstractClassesCommitMojo
Bug |
Category |
Details |
Line |
Priority |
Unwritten field: org.jomc.mojo.AbstractClassesCommitMojo.modelObjectStylesheetResources |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
191 |
Medium |
org.jomc.mojo.AbstractJomcMojo
Bug |
Category |
Details |
Line |
Priority |
org.jomc.mojo.AbstractJomcMojo.getMainClassLoader() creates a java.net.URLClassLoader classloader, which should be performed within a doPrivileged block |
MALICIOUS_CODE |
DP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED |
1108 |
Medium |
org.jomc.mojo.AbstractJomcMojo.getTestClassLoader() creates a java.net.URLClassLoader classloader, which should be performed within a doPrivileged block |
MALICIOUS_CODE |
DP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED |
1156 |
Medium |
Usage of GetResource in org.jomc.mojo.AbstractJomcMojo.getResource(String) may be unsafe if class is extended |
BAD_PRACTICE |
UI_INHERITANCE_UNSAFE_GETRESOURCE |
1820 |
Medium |
org.jomc.mojo.AbstractModelShowMojo
Bug |
Category |
Details |
Line |
Priority |
Unwritten field: org.jomc.mojo.AbstractModelShowMojo.document |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
92 |
Medium |
Unwritten field: org.jomc.mojo.AbstractModelShowMojo.documentEncoding |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
123 |
Medium |
org.jomc.mojo.AbstractResourcesWriteMojo
Bug |
Category |
Details |
Line |
Priority |
Unwritten field: org.jomc.mojo.AbstractResourcesWriteMojo.resourceBundleDefaultLanguage |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
93 |
Medium |
org.jomc.mojo.HelpMojo
Bug |
Category |
Details |
Line |
Priority |
Unwritten field: org.jomc.mojo.HelpMojo.goal |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
76 |
Medium |
org.jomc.mojo.KeyValueType
Bug |
Category |
Details |
Line |
Priority |
Possible null pointer dereference of javaClass in org.jomc.mojo.KeyValueType.getObject(ModelContext) on exception path |
CORRECTNESS |
NP_NULL_ON_SOME_PATH_EXCEPTION |
315 |
Medium |
Possible null pointer dereference of javaClass in org.jomc.mojo.KeyValueType.getObject(ModelContext) on exception path |
CORRECTNESS |
NP_NULL_ON_SOME_PATH_EXCEPTION |
315 |
Medium |
org.jomc.mojo.MainClassesCommitMojo
Bug |
Category |
Details |
Line |
Priority |
Unwritten field: org.jomc.mojo.MainClassesCommitMojo.commitMainClassesExecutionStrategy |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
93 |
Medium |
org.jomc.mojo.MainClassesValidateMojo
Bug |
Category |
Details |
Line |
Priority |
Unwritten field: org.jomc.mojo.MainClassesValidateMojo.validateMainClassesExecutionStrategy |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
93 |
Medium |
org.jomc.mojo.MainClasspathValidateMojo
Bug |
Category |
Details |
Line |
Priority |
Unwritten field: org.jomc.mojo.MainClasspathValidateMojo.validateMainClasspathExecutionStrategy |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
80 |
Medium |
org.jomc.mojo.MainInstanceShowMojo
Bug |
Category |
Details |
Line |
Priority |
Unwritten field: org.jomc.mojo.MainInstanceShowMojo.identifier |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
83 |
Medium |
Unwritten field: org.jomc.mojo.MainInstanceShowMojo.showMainInstanceExecutionStrategy |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
109 |
Medium |
org.jomc.mojo.MainModelShowMojo
Bug |
Category |
Details |
Line |
Priority |
Unwritten field: org.jomc.mojo.MainModelShowMojo.showMainModelExecutionStrategy |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
87 |
Medium |
org.jomc.mojo.MainModelValidateMojo
Bug |
Category |
Details |
Line |
Priority |
Unwritten field: org.jomc.mojo.MainModelValidateMojo.validateMainModelExecutionStrategy |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
101 |
Medium |
org.jomc.mojo.MainModuleAttachMojo
Bug |
Category |
Details |
Line |
Priority |
Unwritten field: org.jomc.mojo.MainModuleAttachMojo.attachMainModuleExecutionStrategy |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
106 |
Medium |
Unwritten field: org.jomc.mojo.MainModuleAttachMojo.mainModuleArtifactClassifier |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
94 |
Medium |
Unwritten field: org.jomc.mojo.MainModuleAttachMojo.mainModuleArtifactFile |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
88 |
Medium |
Unwritten field: org.jomc.mojo.MainModuleAttachMojo.mainModuleArtifactType |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
100 |
Medium |
org.jomc.mojo.MainModuleShowMojo
Bug |
Category |
Details |
Line |
Priority |
Unwritten field: org.jomc.mojo.MainModuleShowMojo.identifier |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
83 |
Medium |
Unwritten field: org.jomc.mojo.MainModuleShowMojo.showMainModuleExecutionStrategy |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
109 |
Medium |
org.jomc.mojo.MainResourcesWriteMojo
Bug |
Category |
Details |
Line |
Priority |
Unwritten field: org.jomc.mojo.MainResourcesWriteMojo.mainResourcesOutputDirectory |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
92 |
Medium |
Unwritten field: org.jomc.mojo.MainResourcesWriteMojo.writeMainResourcesExecutionStrategy |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
104 |
Medium |
org.jomc.mojo.MainSourcesManageMojo
Bug |
Category |
Details |
Line |
Priority |
Unwritten field: org.jomc.mojo.MainSourcesManageMojo.manageMainSourcesExecutionStrategy |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
123 |
Medium |
org.jomc.mojo.MainSpecificationShowMojo
Bug |
Category |
Details |
Line |
Priority |
Unwritten field: org.jomc.mojo.MainSpecificationShowMojo.identifier |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
83 |
Medium |
Unwritten field: org.jomc.mojo.MainSpecificationShowMojo.showMainSpecificationExecutionStrategy |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
109 |
Medium |
org.jomc.mojo.TestClassesCommitMojo
Bug |
Category |
Details |
Line |
Priority |
Unwritten field: org.jomc.mojo.TestClassesCommitMojo.commitTestClassesExecutionStrategy |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
93 |
Medium |
org.jomc.mojo.TestClassesValidateMojo
Bug |
Category |
Details |
Line |
Priority |
Unwritten field: org.jomc.mojo.TestClassesValidateMojo.validateTestClassesExecutionStrategy |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
93 |
Medium |
org.jomc.mojo.TestClasspathValidateMojo
Bug |
Category |
Details |
Line |
Priority |
Unwritten field: org.jomc.mojo.TestClasspathValidateMojo.validateTestClasspathExecutionStrategy |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
80 |
Medium |
org.jomc.mojo.TestInstanceShowMojo
Bug |
Category |
Details |
Line |
Priority |
Unwritten field: org.jomc.mojo.TestInstanceShowMojo.identifier |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
83 |
Medium |
Unwritten field: org.jomc.mojo.TestInstanceShowMojo.showTestInstanceExecutionStrategy |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
109 |
Medium |
org.jomc.mojo.TestModelShowMojo
Bug |
Category |
Details |
Line |
Priority |
Unwritten field: org.jomc.mojo.TestModelShowMojo.showTestModelExecutionStrategy |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
87 |
Medium |
org.jomc.mojo.TestModelValidateMojo
Bug |
Category |
Details |
Line |
Priority |
Unwritten field: org.jomc.mojo.TestModelValidateMojo.validateTestModelExecutionStrategy |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
101 |
Medium |
org.jomc.mojo.TestModuleAttachMojo
Bug |
Category |
Details |
Line |
Priority |
Unwritten field: org.jomc.mojo.TestModuleAttachMojo.attachTestModuleExecutionStrategy |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
106 |
Medium |
Unwritten field: org.jomc.mojo.TestModuleAttachMojo.testModuleArtifactClassifier |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
94 |
Medium |
Unwritten field: org.jomc.mojo.TestModuleAttachMojo.testModuleArtifactFile |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
88 |
Medium |
Unwritten field: org.jomc.mojo.TestModuleAttachMojo.testModuleArtifactType |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
100 |
Medium |
org.jomc.mojo.TestModuleShowMojo
Bug |
Category |
Details |
Line |
Priority |
Unwritten field: org.jomc.mojo.TestModuleShowMojo.identifier |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
83 |
Medium |
Unwritten field: org.jomc.mojo.TestModuleShowMojo.showTestModuleExecutionStrategy |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
109 |
Medium |
org.jomc.mojo.TestResourcesWriteMojo
Bug |
Category |
Details |
Line |
Priority |
Unwritten field: org.jomc.mojo.TestResourcesWriteMojo.testResourcesOutputDirectory |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
92 |
Medium |
Unwritten field: org.jomc.mojo.TestResourcesWriteMojo.writeTestResourcesExecutionStrategy |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
104 |
Medium |
org.jomc.mojo.TestSourcesManageMojo
Bug |
Category |
Details |
Line |
Priority |
Unwritten field: org.jomc.mojo.TestSourcesManageMojo.manageTestSourcesExecutionStrategy |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
123 |
Medium |
org.jomc.mojo.TestSpecificationShowMojo
Bug |
Category |
Details |
Line |
Priority |
Unwritten field: org.jomc.mojo.TestSpecificationShowMojo.identifier |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
83 |
Medium |
Unwritten field: org.jomc.mojo.TestSpecificationShowMojo.showTestSpecificationExecutionStrategy |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
109 |
Medium |