FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 1.2.1

Threshold is Low

Effort is Default

Summary

Classes Bugs Errors Missing Classes
368 22 0 0

pl.edu.agh.cast.data.model.Activator

Bug Category Details Line
Write to static field pl.edu.agh.cast.data.model.Activator.plugin from instance method pl.edu.agh.cast.data.model.Activator.start(BundleContext) STYLE ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD 57
Write to static field pl.edu.agh.cast.data.model.Activator.plugin from instance method pl.edu.agh.cast.data.model.Activator.stop(BundleContext) STYLE ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD 66

pl.edu.agh.cast.data.model.DataSetDescriptor

Bug Category Details Line
pl.edu.agh.cast.data.model.DataSetDescriptor.getCreationDate() may expose internal representation by returning DataSetDescriptor.creationDate MALICIOUS_CODE EI_EXPOSE_REP 227
pl.edu.agh.cast.data.model.DataSetDescriptor.setCreationDate(Date) may expose internal representation by storing an externally mutable object into DataSetDescriptor.creationDate MALICIOUS_CODE EI_EXPOSE_REP2 231

pl.edu.agh.cast.data.model.domain.DomainDataSetDescriptor

Bug Category Details Line
pl.edu.agh.cast.data.model.domain.DomainDataSetDescriptor.getSourceDate() may expose internal representation by returning DomainDataSetDescriptor.sourceDate MALICIOUS_CODE EI_EXPOSE_REP 163
pl.edu.agh.cast.data.model.domain.DomainDataSetDescriptor.setSourceDate(Date) may expose internal representation by storing an externally mutable object into DomainDataSetDescriptor.sourceDate MALICIOUS_CODE EI_EXPOSE_REP2 167

pl.edu.agh.cast.data.model.general.TimedManyToManyRelation

Bug Category Details Line
pl.edu.agh.cast.data.model.general.TimedManyToManyRelation.getEndDate() may expose internal representation by returning TimedManyToManyRelation.endDate MALICIOUS_CODE EI_EXPOSE_REP 232
pl.edu.agh.cast.data.model.general.TimedManyToManyRelation.getStartDate() may expose internal representation by returning TimedManyToManyRelation.startDate MALICIOUS_CODE EI_EXPOSE_REP 202
pl.edu.agh.cast.data.model.general.TimedManyToManyRelation.setEndDate(Date) may expose internal representation by storing an externally mutable object into TimedManyToManyRelation.endDate MALICIOUS_CODE EI_EXPOSE_REP2 242
pl.edu.agh.cast.data.model.general.TimedManyToManyRelation.setStartDate(Date) may expose internal representation by storing an externally mutable object into TimedManyToManyRelation.startDate MALICIOUS_CODE EI_EXPOSE_REP2 212

pl.edu.agh.cast.data.model.presentation.PresentationDataSet

Bug Category Details Line
Method pl.edu.agh.cast.data.model.presentation.PresentationDataSet.isElementValid(IPresentationElement) does an unnecessary type check using instanceof operator when it can be determined statically CORRECTNESS SIO_SUPERFLUOUS_INSTANCEOF 224

pl.edu.agh.cast.data.model.presentation.PresentationPropertyDescriptor

Bug Category Details Line
Dead store to prime in pl.edu.agh.cast.data.model.presentation.PresentationPropertyDescriptor.hashCode() STYLE DLS_DEAD_LOCAL_STORE 98

pl.edu.agh.cast.data.model.property.MetaProperty

Bug Category Details Line
Use of non-localized String.toUpperCase() or String.toLowerCase I18N DM_CONVERT_CASE 100

pl.edu.agh.cast.data.model.property.MetaPropertyManager

Bug Category Details Line
Unchecked/unconfirmed cast from pl.edu.agh.cast.data.model.property.MetaProperty to pl.edu.agh.cast.data.model.property.MetaPermanentProperty in pl.edu.agh.cast.data.model.property.MetaPropertyManager.registerMetaProperty(MetaProperty) STYLE BC_UNCONFIRMED_CAST 72
Unchecked/unconfirmed cast from pl.edu.agh.cast.data.model.property.MetaProperty to pl.edu.agh.cast.data.model.property.MetaTransientProperty in pl.edu.agh.cast.data.model.property.MetaPropertyManager.registerMetaProperty(MetaProperty) STYLE BC_UNCONFIRMED_CAST 74

pl.edu.agh.cast.data.model.property.Property

Bug Category Details Line
Dead store to prime in pl.edu.agh.cast.data.model.property.Property.hashCode() STYLE DLS_DEAD_LOCAL_STORE 140

pl.edu.agh.cast.data.model.property.PropertyContainer

Bug Category Details Line
Unchecked/unconfirmed cast from pl.edu.agh.cast.data.model.property.MetaProperty to pl.edu.agh.cast.data.model.property.MetaPermanentProperty in pl.edu.agh.cast.data.model.property.PropertyContainer.createProperty(MetaProperty) STYLE BC_UNCONFIRMED_CAST 386
Unchecked/unconfirmed cast from pl.edu.agh.cast.data.model.property.MetaProperty to pl.edu.agh.cast.data.model.property.MetaTransientProperty in pl.edu.agh.cast.data.model.property.PropertyContainer.createProperty(MetaProperty) STYLE BC_UNCONFIRMED_CAST 388

pl.edu.agh.cast.data.model.property.PropertyHelper

Bug Category Details Line
Use of non-localized String.toUpperCase() or String.toLowerCase I18N DM_CONVERT_CASE 80

pl.edu.agh.cast.data.model.property.PropertyType

Bug Category Details Line
public static pl.edu.agh.cast.data.model.property.PropertyType.valuesForCustomProperties() may expose internal representation by returning PropertyType.typesForCustom MALICIOUS_CODE MS_EXPOSE_REP 159

pl.edu.agh.cast.data.model.util.ReferenceUtil$DefaultReferenceProvider

Bug Category Details Line
Should pl.edu.agh.cast.data.model.util.ReferenceUtil$DefaultReferenceProvider be a _static_ inner class? PERFORMANCE SIC_INNER_SHOULD_BE_STATIC 121-174

pl.edu.agh.cast.data.model.visual.VisualElement

Bug Category Details Line
Method pl.edu.agh.cast.data.model.visual.VisualElement.getVisualLabel() makes inefficient use of keySet iterator instead of entrySet iterator PERFORMANCE WMI_WRONG_MAP_ITERATOR 207