FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 2.0.1

Threshold is low

Effort is max

Summary

Classes Bugs Errors Missing Classes
130 31 0 0

de.smartics.properties.api.core.domain.DuplicatePropertyDeclarationException

Bug Category Details Line Priority
Unchecked/unconfirmed cast from de.smartics.properties.api.core.domain.PropertyDescriptorMessageBean to de.smartics.properties.api.core.domain.PropertyDescriptorClashingMessageBean of return value in de.smartics.properties.api.core.domain.DuplicatePropertyDeclarationException.getMessageBean() STYLE BC_UNCONFIRMED_CAST_OF_RETURN_VALUE 64 Low

de.smartics.properties.api.core.domain.PropertyDescriptorException

Bug Category Details Line Priority
Unchecked/unconfirmed cast from de.smartics.properties.api.core.domain.PropertyMessageBean to de.smartics.properties.api.core.domain.PropertyDescriptorMessageBean of return value in de.smartics.properties.api.core.domain.PropertyDescriptorException.getMessageBean() STYLE BC_UNCONFIRMED_CAST_OF_RETURN_VALUE 65 Low

de.smartics.properties.api.core.domain.PropertyProjectdoc

Bug Category Details Line Priority
Class de.smartics.properties.api.core.domain.PropertyProjectdoc defines non-transient non-serializable instance field sourceInfo BAD_PRACTICE SE_BAD_FIELD Not available Medium

de.smartics.properties.api.core.domain.PropertyValidationException

Bug Category Details Line Priority
Unchecked/unconfirmed cast from de.smartics.properties.api.core.domain.PropertyDescriptorMessageBean to de.smartics.properties.api.core.domain.PropertyValidationMessageBean of return value in de.smartics.properties.api.core.domain.PropertyValidationException.getMessageBean() STYLE BC_UNCONFIRMED_CAST_OF_RETURN_VALUE 86 Low

de.smartics.properties.api.core.domain.PropertyValueConversionException

Bug Category Details Line Priority
Unchecked/unconfirmed cast from de.smartics.properties.api.core.domain.PropertyDescriptorMessageBean to de.smartics.properties.api.core.domain.PropertyValueMessageBean of return value in de.smartics.properties.api.core.domain.PropertyValueConversionException.getMessageBean() STYLE BC_UNCONFIRMED_CAST_OF_RETURN_VALUE 64 Low

de.smartics.properties.api.core.domain.PropertyValueResolveException

Bug Category Details Line Priority
Unchecked/unconfirmed cast from de.smartics.properties.api.core.domain.PropertyDescriptorMessageBean to de.smartics.properties.api.core.domain.PropertyExpressionMessageBean of return value in de.smartics.properties.api.core.domain.PropertyValueResolveException.getMessageBean() STYLE BC_UNCONFIRMED_CAST_OF_RETURN_VALUE 65 Low

de.smartics.properties.api.core.domain.ReadOnlyPropertyException

Bug Category Details Line Priority
Unchecked/unconfirmed cast from de.smartics.properties.api.core.domain.PropertyDescriptorMessageBean to de.smartics.properties.api.core.domain.PropertyValueChangeMessageBean of return value in de.smartics.properties.api.core.domain.ReadOnlyPropertyException.getMessageBean() STYLE BC_UNCONFIRMED_CAST_OF_RETURN_VALUE 63 Low

de.smartics.properties.api.core.security.AbstractPropertyValueSecurity

Bug Category Details Line Priority
Exception is caught when Exception is not thrown in de.smartics.properties.api.core.security.AbstractPropertyValueSecurity.decrypt(PropertyDescriptor, String, SecretKey, Cipher) STYLE REC_CATCH_EXCEPTION 88 Low
Exception is caught when Exception is not thrown in de.smartics.properties.api.core.security.AbstractPropertyValueSecurity.encrypt(PropertyDescriptor, String, SecretKey, Cipher) STYLE REC_CATCH_EXCEPTION 119 Low

de.smartics.properties.api.core.security.SecurityConfigurationJndiLoader

Bug Category Details Line Priority
Exception is caught when Exception is not thrown in de.smartics.properties.api.core.security.SecurityConfigurationJndiLoader.load() STYLE REC_CATCH_EXCEPTION 110 Low
Format-string method String.format(String, Object[]) called with format string "Cannot configure security module from JNDI %s: %s" wants 2 arguments but is given 3 in de.smartics.properties.api.core.security.SecurityConfigurationJndiLoader.load() CORRECTNESS VA_FORMAT_STRING_EXTRA_ARGUMENTS_PASSED 105 Medium
Format-string method String.format(String, Object[]) called with format string "Cannot configure security module: %s" wants 1 arguments but is given 2 in de.smartics.properties.api.core.security.SecurityConfigurationJndiLoader.load() CORRECTNESS VA_FORMAT_STRING_EXTRA_ARGUMENTS_PASSED 112 Medium

de.smartics.properties.api.core.security.SecurityConfigurationPropertiesLoader

Bug Category Details Line Priority
Format-string method String.format(String, Object[]) called with format string "Cannot configure the access to a security module: %s" wants 1 arguments but is given 2 in de.smartics.properties.api.core.security.SecurityConfigurationPropertiesLoader.load() CORRECTNESS VA_FORMAT_STRING_EXTRA_ARGUMENTS_PASSED 98 Medium

de.smartics.properties.spi.core.constraint.jsr303.GenericPropertyConstraint

Bug Category Details Line Priority
Exception is caught when Exception is not thrown in de.smartics.properties.spi.core.constraint.jsr303.GenericPropertyConstraint.extractMessageTemplate() STYLE REC_CATCH_EXCEPTION 403 Medium
Exception is caught when Exception is not thrown in de.smartics.properties.spi.core.constraint.jsr303.GenericPropertyConstraint.isConstraintActivated(Class) STYLE REC_CATCH_EXCEPTION 357 Medium
Exception is caught when Exception is not thrown in de.smartics.properties.spi.core.constraint.jsr303.GenericPropertyConstraint.isInGroup(Class[], Class) STYLE REC_CATCH_EXCEPTION 389 Low

de.smartics.properties.spi.core.constraint.jsr303.PropertyConstraintDescriptor

Bug Category Details Line Priority
Exception is caught when Exception is not thrown in de.smartics.properties.spi.core.constraint.jsr303.PropertyConstraintDescriptor.getGroups() STYLE REC_CATCH_EXCEPTION 92 Medium
Exception is caught when Exception is not thrown in de.smartics.properties.spi.core.constraint.jsr303.PropertyConstraintDescriptor.getPayload() STYLE REC_CATCH_EXCEPTION 112 Medium
Exception is caught when Exception is not thrown in de.smartics.properties.spi.core.constraint.jsr303.PropertyConstraintDescriptor.invoke(Method) STYLE REC_CATCH_EXCEPTION 159 Low

de.smartics.properties.spi.core.constraints.ListValueConstraint

Bug Category Details Line Priority
Redundant nullcheck of de.smartics.properties.spi.core.constraints.ListValueConstraint.minOccurs, which is known to be non-null in de.smartics.properties.spi.core.constraints.ListValueConstraint.isSizeValid(List) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 304 Medium

de.smartics.properties.spi.core.metadata.PropertyMetaDataParser

Bug Category Details Line Priority
Should de.smartics.properties.spi.core.metadata.PropertyMetaDataParser.calcElementConstraintMethod(Class, String) return a zero length array rather than null? STYLE PZLA_PREFER_ZERO_LENGTH_ARRAYS 578 Low
Should de.smartics.properties.spi.core.metadata.PropertyMetaDataParser.calcElementsConstraintsType(Method) return a zero length array rather than null? STYLE PZLA_PREFER_ZERO_LENGTH_ARRAYS 564 Low
Exception is caught when Exception is not thrown in de.smartics.properties.spi.core.metadata.PropertyMetaDataParser.calcElementConstraintMethod(Class, String) STYLE REC_CATCH_EXCEPTION 576 Low

de.smartics.properties.spi.core.metadata.projectdoc.ProjectdocMetaDataParser$ParserContext

Bug Category Details Line Priority
Should de.smartics.properties.spi.core.metadata.projectdoc.ProjectdocMetaDataParser$ParserContext be a _static_ inner class? PERFORMANCE SIC_INNER_SHOULD_BE_STATIC 110-218 Medium

de.smartics.properties.spi.core.metadata.projectdoc.PropertyProjectdocParser

Bug Category Details Line Priority
Unchecked/unconfirmed cast from de.smartics.properties.api.core.domain.ProjectdocMetaData to de.smartics.properties.api.core.domain.PropertyProjectdoc of return value in de.smartics.properties.spi.core.metadata.projectdoc.PropertyProjectdocParser.parseAdditional(ProjectdocMetaDataParser$ParserContext) STYLE BC_UNCONFIRMED_CAST_OF_RETURN_VALUE 128 Low

de.smartics.properties.spi.core.metadata.projectdoc.PropertySetProjectdocParser

Bug Category Details Line Priority
Unchecked/unconfirmed cast from de.smartics.properties.api.core.domain.ProjectdocMetaData to de.smartics.properties.api.core.domain.PropertySetProjectdoc of return value in de.smartics.properties.spi.core.metadata.projectdoc.PropertySetProjectdocParser.parseAdditional(ProjectdocMetaDataParser$ParserContext) STYLE BC_UNCONFIRMED_CAST_OF_RETURN_VALUE 124 Low
Class de.smartics.properties.spi.core.metadata.projectdoc.PropertySetProjectdocParser is final but declares protected field de.smartics.properties.spi.core.metadata.projectdoc.PropertySetProjectdocParser.NS STYLE CI_CONFUSED_INHERITANCE Not available Low

de.smartics.properties.spi.core.registry.InMemoryPropertyDescriptorRegistry

Bug Category Details Line Priority
de.smartics.properties.spi.core.registry.InMemoryPropertyDescriptorRegistry.toString() does not release lock on all exception paths MT_CORRECTNESS UL_UNRELEASED_LOCK_EXCEPTION_PATH 440 Medium

de.smartics.properties.spi.core.value.EnumIdTranslator

Bug Category Details Line Priority
Exception is caught when Exception is not thrown in de.smartics.properties.spi.core.value.EnumIdTranslator.calcMethod(Class) STYLE REC_CATCH_EXCEPTION 75 Low
Exception is caught when Exception is not thrown in de.smartics.properties.spi.core.value.EnumIdTranslator.fromString(String) STYLE REC_CATCH_EXCEPTION 96 Low

de.smartics.properties.spi.core.value.EnumeratedPropertyValueRange

Bug Category Details Line Priority
Class de.smartics.properties.spi.core.value.EnumeratedPropertyValueRange defines non-transient non-serializable instance field translator BAD_PRACTICE SE_BAD_FIELD Not available Medium