Fork me on GitHub

SpotBugs Bug Detector Report

The following document contains the results of SpotBugs

SpotBugs Version is 4.8.6

Threshold is medium

Effort is max

Summary

Classes Bugs Errors Missing Classes
46 15 0 0

Files

Class Bugs
org.basepom.mojo.propertyhelper.AbstractPropertyHelperMojo 5
org.basepom.mojo.propertyhelper.ValueProvider$PropertyBackedValueAdapter 1
org.basepom.mojo.propertyhelper.definitions.FieldDefinition 1
org.basepom.mojo.propertyhelper.definitions.PropertyDefinition 1
org.basepom.mojo.propertyhelper.definitions.PropertyGroupDefinition 1
org.basepom.mojo.propertyhelper.definitions.StringDefinition 1
org.basepom.mojo.propertyhelper.fields.DateField 1
org.basepom.mojo.propertyhelper.fields.MacroField 1
org.basepom.mojo.propertyhelper.fields.NumberField 1
org.basepom.mojo.propertyhelper.fields.StringField 1
org.basepom.mojo.propertyhelper.groups.PropertyGroup 1

org.basepom.mojo.propertyhelper.AbstractPropertyHelperMojo

Bug Category Details Line Priority
org.basepom.mojo.propertyhelper.AbstractPropertyHelperMojo.getMacros() may expose internal representation by returning AbstractPropertyHelperMojo.macroMap MALICIOUS_CODE EI_EXPOSE_REP 389 Medium
org.basepom.mojo.propertyhelper.AbstractPropertyHelperMojo.getProject() may expose internal representation by returning AbstractPropertyHelperMojo.project MALICIOUS_CODE EI_EXPOSE_REP 374 Medium
org.basepom.mojo.propertyhelper.AbstractPropertyHelperMojo.getRandom() may expose internal representation by returning AbstractPropertyHelperMojo.random MALICIOUS_CODE EI_EXPOSE_REP 409 Medium
org.basepom.mojo.propertyhelper.AbstractPropertyHelperMojo.getSettings() may expose internal representation by returning AbstractPropertyHelperMojo.settings MALICIOUS_CODE EI_EXPOSE_REP 384 Medium
Possible null pointer dereference in org.basepom.mojo.propertyhelper.AbstractPropertyHelperMojo.createGroups() due to return value of called method STYLE NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE 511 Medium

org.basepom.mojo.propertyhelper.ValueProvider$PropertyBackedValueAdapter

Bug Category Details Line Priority
new org.basepom.mojo.propertyhelper.ValueProvider$PropertyBackedValueAdapter(Properties, String) may expose internal representation by storing an externally mutable object into ValueProvider$PropertyBackedValueAdapter.props MALICIOUS_CODE EI_EXPOSE_REP2 91 Medium

org.basepom.mojo.propertyhelper.definitions.FieldDefinition

Bug Category Details Line Priority
org.basepom.mojo.propertyhelper.definitions.FieldDefinition.getTransformers() may expose internal representation by returning FieldDefinition.transformers MALICIOUS_CODE EI_EXPOSE_REP 148 Medium

org.basepom.mojo.propertyhelper.definitions.PropertyDefinition

Bug Category Details Line Priority
org.basepom.mojo.propertyhelper.definitions.PropertyDefinition.getTransformers() may expose internal representation by returning PropertyDefinition.transformers MALICIOUS_CODE EI_EXPOSE_REP 74 Medium

org.basepom.mojo.propertyhelper.definitions.PropertyGroupDefinition

Bug Category Details Line Priority
org.basepom.mojo.propertyhelper.definitions.PropertyGroupDefinition.getPropertyDefinitions() may expose internal representation by returning PropertyGroupDefinition.propertyDefinitions MALICIOUS_CODE EI_EXPOSE_REP 105 Medium

org.basepom.mojo.propertyhelper.definitions.StringDefinition

Bug Category Details Line Priority
org.basepom.mojo.propertyhelper.definitions.StringDefinition.getValues() may expose internal representation by returning StringDefinition.values MALICIOUS_CODE EI_EXPOSE_REP 79 Medium

org.basepom.mojo.propertyhelper.fields.DateField

Bug Category Details Line Priority
new org.basepom.mojo.propertyhelper.fields.DateField(DateDefinition, ValueProvider, FieldContext) may expose internal representation by storing an externally mutable object into DateField.valueProvider MALICIOUS_CODE EI_EXPOSE_REP2 43 Medium

org.basepom.mojo.propertyhelper.fields.MacroField

Bug Category Details Line Priority
new org.basepom.mojo.propertyhelper.fields.MacroField(MacroDefinition, ValueProvider, FieldContext) may expose internal representation by storing an externally mutable object into MacroField.valueProvider MALICIOUS_CODE EI_EXPOSE_REP2 45 Medium

org.basepom.mojo.propertyhelper.fields.NumberField

Bug Category Details Line Priority
new org.basepom.mojo.propertyhelper.fields.NumberField(NumberDefinition, ValueProvider, FieldContext) may expose internal representation by storing an externally mutable object into NumberField.valueProvider MALICIOUS_CODE EI_EXPOSE_REP2 49 Medium

org.basepom.mojo.propertyhelper.fields.StringField

Bug Category Details Line Priority
new org.basepom.mojo.propertyhelper.fields.StringField(StringDefinition, ValueProvider, FieldContext) may expose internal representation by storing an externally mutable object into StringField.valueProvider MALICIOUS_CODE EI_EXPOSE_REP2 46 Medium

org.basepom.mojo.propertyhelper.groups.PropertyGroup

Bug Category Details Line Priority
new org.basepom.mojo.propertyhelper.groups.PropertyGroup(PropertyGroupDefinition, FieldContext) may expose internal representation by storing an externally mutable object into PropertyGroup.propertyGroupDefinition MALICIOUS_CODE EI_EXPOSE_REP2 34 Medium