FindBugs Bug Detector Report
The following document contains the results of FindBugs
FindBugs Version is 3.0.0
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 |
121 |
Medium |
Unwritten field: org.jomc.mojo.AbstractAttachMojo.mavenProjectHelper |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
149 |
Medium |
Unwritten field: org.jomc.mojo.AbstractAttachMojo.mavenSession |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
135 |
Medium |
Unwritten field: org.jomc.mojo.AbstractAttachMojo.sessionDirectory |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
163 |
Medium |
org.jomc.mojo.AbstractClassesCommitMojo
Bug |
Category |
Details |
Line |
Priority |
Unwritten field: org.jomc.mojo.AbstractClassesCommitMojo.modelObjectStylesheetResources |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
179 |
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 |
1065 |
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 |
1113 |
Medium |
Usage of GetResource in org.jomc.mojo.AbstractJomcMojo.getResource(String) may be unsafe if class is extended |
BAD_PRACTICE |
UI_INHERITANCE_UNSAFE_GETRESOURCE |
1775 |
Medium |
org.jomc.mojo.AbstractModelShowMojo
Bug |
Category |
Details |
Line |
Priority |
Unwritten field: org.jomc.mojo.AbstractModelShowMojo.document |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
88 |
Medium |
Unwritten field: org.jomc.mojo.AbstractModelShowMojo.documentEncoding |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
119 |
Medium |
org.jomc.mojo.AbstractResourcesWriteMojo
Bug |
Category |
Details |
Line |
Priority |
Unwritten field: org.jomc.mojo.AbstractResourcesWriteMojo.resourceBundleDefaultLanguage |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
89 |
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 |
307 |
Medium |
Possible null pointer dereference of javaClass in org.jomc.mojo.KeyValueType.getObject(ModelContext) on exception path |
CORRECTNESS |
NP_NULL_ON_SOME_PATH_EXCEPTION |
307 |
Medium |
org.jomc.mojo.MainClassesCommitMojo
Bug |
Category |
Details |
Line |
Priority |
Unwritten field: org.jomc.mojo.MainClassesCommitMojo.commitMainClassesExecutionStrategy |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
91 |
Medium |
org.jomc.mojo.MainClassesValidateMojo
Bug |
Category |
Details |
Line |
Priority |
Unwritten field: org.jomc.mojo.MainClassesValidateMojo.validateMainClassesExecutionStrategy |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
91 |
Medium |
org.jomc.mojo.MainClasspathValidateMojo
Bug |
Category |
Details |
Line |
Priority |
Unwritten field: org.jomc.mojo.MainClasspathValidateMojo.validateMainClasspathExecutionStrategy |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
78 |
Medium |
org.jomc.mojo.MainInstanceShowMojo
Bug |
Category |
Details |
Line |
Priority |
Unwritten field: org.jomc.mojo.MainInstanceShowMojo.identifier |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
81 |
Medium |
Unwritten field: org.jomc.mojo.MainInstanceShowMojo.showMainInstanceExecutionStrategy |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
107 |
Medium |
org.jomc.mojo.MainModelShowMojo
Bug |
Category |
Details |
Line |
Priority |
Unwritten field: org.jomc.mojo.MainModelShowMojo.showMainModelExecutionStrategy |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
85 |
Medium |
org.jomc.mojo.MainModelValidateMojo
Bug |
Category |
Details |
Line |
Priority |
Unwritten field: org.jomc.mojo.MainModelValidateMojo.validateMainModelExecutionStrategy |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
97 |
Medium |
org.jomc.mojo.MainModuleAttachMojo
Bug |
Category |
Details |
Line |
Priority |
Unwritten field: org.jomc.mojo.MainModuleAttachMojo.attachMainModuleExecutionStrategy |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
104 |
Medium |
Unwritten field: org.jomc.mojo.MainModuleAttachMojo.mainModuleArtifactClassifier |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
92 |
Medium |
Unwritten field: org.jomc.mojo.MainModuleAttachMojo.mainModuleArtifactFile |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
86 |
Medium |
Unwritten field: org.jomc.mojo.MainModuleAttachMojo.mainModuleArtifactType |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
98 |
Medium |
org.jomc.mojo.MainModuleShowMojo
Bug |
Category |
Details |
Line |
Priority |
Unwritten field: org.jomc.mojo.MainModuleShowMojo.identifier |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
81 |
Medium |
Unwritten field: org.jomc.mojo.MainModuleShowMojo.showMainModuleExecutionStrategy |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
107 |
Medium |
org.jomc.mojo.MainResourcesWriteMojo
Bug |
Category |
Details |
Line |
Priority |
Unwritten field: org.jomc.mojo.MainResourcesWriteMojo.mainResourcesOutputDirectory |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
90 |
Medium |
Unwritten field: org.jomc.mojo.MainResourcesWriteMojo.writeMainResourcesExecutionStrategy |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
102 |
Medium |
org.jomc.mojo.MainSourcesManageMojo
Bug |
Category |
Details |
Line |
Priority |
Unwritten field: org.jomc.mojo.MainSourcesManageMojo.manageMainSourcesExecutionStrategy |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
121 |
Medium |
org.jomc.mojo.MainSpecificationShowMojo
Bug |
Category |
Details |
Line |
Priority |
Unwritten field: org.jomc.mojo.MainSpecificationShowMojo.identifier |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
81 |
Medium |
Unwritten field: org.jomc.mojo.MainSpecificationShowMojo.showMainSpecificationExecutionStrategy |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
107 |
Medium |
org.jomc.mojo.TestClassesCommitMojo
Bug |
Category |
Details |
Line |
Priority |
Unwritten field: org.jomc.mojo.TestClassesCommitMojo.commitTestClassesExecutionStrategy |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
91 |
Medium |
org.jomc.mojo.TestClassesValidateMojo
Bug |
Category |
Details |
Line |
Priority |
Unwritten field: org.jomc.mojo.TestClassesValidateMojo.validateTestClassesExecutionStrategy |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
91 |
Medium |
org.jomc.mojo.TestClasspathValidateMojo
Bug |
Category |
Details |
Line |
Priority |
Unwritten field: org.jomc.mojo.TestClasspathValidateMojo.validateTestClasspathExecutionStrategy |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
78 |
Medium |
org.jomc.mojo.TestInstanceShowMojo
Bug |
Category |
Details |
Line |
Priority |
Unwritten field: org.jomc.mojo.TestInstanceShowMojo.identifier |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
81 |
Medium |
Unwritten field: org.jomc.mojo.TestInstanceShowMojo.showTestInstanceExecutionStrategy |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
107 |
Medium |
org.jomc.mojo.TestModelShowMojo
Bug |
Category |
Details |
Line |
Priority |
Unwritten field: org.jomc.mojo.TestModelShowMojo.showTestModelExecutionStrategy |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
85 |
Medium |
org.jomc.mojo.TestModelValidateMojo
Bug |
Category |
Details |
Line |
Priority |
Unwritten field: org.jomc.mojo.TestModelValidateMojo.validateTestModelExecutionStrategy |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
97 |
Medium |
org.jomc.mojo.TestModuleAttachMojo
Bug |
Category |
Details |
Line |
Priority |
Unwritten field: org.jomc.mojo.TestModuleAttachMojo.attachTestModuleExecutionStrategy |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
104 |
Medium |
Unwritten field: org.jomc.mojo.TestModuleAttachMojo.testModuleArtifactClassifier |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
92 |
Medium |
Unwritten field: org.jomc.mojo.TestModuleAttachMojo.testModuleArtifactFile |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
86 |
Medium |
Unwritten field: org.jomc.mojo.TestModuleAttachMojo.testModuleArtifactType |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
98 |
Medium |
org.jomc.mojo.TestModuleShowMojo
Bug |
Category |
Details |
Line |
Priority |
Unwritten field: org.jomc.mojo.TestModuleShowMojo.identifier |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
81 |
Medium |
Unwritten field: org.jomc.mojo.TestModuleShowMojo.showTestModuleExecutionStrategy |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
107 |
Medium |
org.jomc.mojo.TestResourcesWriteMojo
Bug |
Category |
Details |
Line |
Priority |
Unwritten field: org.jomc.mojo.TestResourcesWriteMojo.testResourcesOutputDirectory |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
90 |
Medium |
Unwritten field: org.jomc.mojo.TestResourcesWriteMojo.writeTestResourcesExecutionStrategy |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
102 |
Medium |
org.jomc.mojo.TestSourcesManageMojo
Bug |
Category |
Details |
Line |
Priority |
Unwritten field: org.jomc.mojo.TestSourcesManageMojo.manageTestSourcesExecutionStrategy |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
121 |
Medium |
org.jomc.mojo.TestSpecificationShowMojo
Bug |
Category |
Details |
Line |
Priority |
Unwritten field: org.jomc.mojo.TestSpecificationShowMojo.identifier |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
81 |
Medium |
Unwritten field: org.jomc.mojo.TestSpecificationShowMojo.showTestSpecificationExecutionStrategy |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
107 |
Medium |