The following document contains the results of FindBugs Report
FindBugs Version is 1.3.9
Threshold is medium
Effort is min
Classes | Bugs | Errors | Missing Classes |
---|---|---|---|
22 | 26 | 0 | 0 |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Method net.sf.prefixedproperties.PrefixedProperties.entrySet() uses the same code for two branches | STYLE | DB_DUPLICATE_BRANCHES | 364 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Should net.sf.prefixedproperties.PrefixedProperties$DoubleEntry be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 1891 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
net.sf.prefixedproperties.spring.PrefixedPropertiesFactoryBean.setLocations(Resource[]) may expose internal representation by storing an externally mutable object into PrefixedPropertiesFactoryBean.locations | MALICIOUS_CODE | EI_EXPOSE_REP2 | 158 | Medium |
net.sf.prefixedproperties.spring.PrefixedPropertiesFactoryBean.setPropertiesArray(Properties[]) may expose internal representation by storing an externally mutable object into PrefixedPropertiesFactoryBean.localProperties | MALICIOUS_CODE | EI_EXPOSE_REP2 | 184 | Medium |
Inconsistent synchronization of net.sf.prefixedproperties.spring.PrefixedPropertiesFactoryBean.defaultPrefix; locked 50% of time | MT_CORRECTNESS | IS2_INCONSISTENT_SYNC | 92 | Medium |
Inconsistent synchronization of net.sf.prefixedproperties.spring.PrefixedPropertiesFactoryBean.defaultPrefixSystemPropertyKey; locked 75% of time | MT_CORRECTNESS | IS2_INCONSISTENT_SYNC | 103 | Medium |
Inconsistent synchronization of net.sf.prefixedproperties.spring.PrefixedPropertiesFactoryBean.environmentFactory; locked 66% of time | MT_CORRECTNESS | IS2_INCONSISTENT_SYNC | 113 | Medium |
Inconsistent synchronization of net.sf.prefixedproperties.spring.PrefixedPropertiesFactoryBean.prefixConfigList; locked 66% of time | MT_CORRECTNESS | IS2_INCONSISTENT_SYNC | 168 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unchecked/unconfirmed cast from java.util.Properties to net.sf.prefixedproperties.PrefixedProperties in net.sf.prefixedproperties.spring.PrefixedPropertiesPersister.loadFromJson(Properties, InputStream) | STYLE | BC_UNCONFIRMED_CAST | 55 | Medium |
Unchecked/unconfirmed cast from java.util.Properties to net.sf.prefixedproperties.PrefixedProperties in net.sf.prefixedproperties.spring.PrefixedPropertiesPersister.loadFromJson(Properties, Reader) | STYLE | BC_UNCONFIRMED_CAST | 73 | Medium |
Unchecked/unconfirmed cast from java.util.Properties to net.sf.prefixedproperties.PrefixedProperties in net.sf.prefixedproperties.spring.PrefixedPropertiesPersister.storeToJSON(Properties, OutputStream) | STYLE | BC_UNCONFIRMED_CAST | 91 | Medium |
Unchecked/unconfirmed cast from java.util.Properties to net.sf.prefixedproperties.PrefixedProperties in net.sf.prefixedproperties.spring.PrefixedPropertiesPersister.storeToJSON(Properties, OutputStream, String) | STYLE | BC_UNCONFIRMED_CAST | 111 | Medium |
Unchecked/unconfirmed cast from java.util.Properties to net.sf.prefixedproperties.PrefixedProperties in net.sf.prefixedproperties.spring.PrefixedPropertiesPersister.storeToJSON(Properties, OutputStream, String, String) | STYLE | BC_UNCONFIRMED_CAST | 133 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
net.sf.prefixedproperties.spring.PrefixedPropertiesPlaceholderConfigurer.setLocations(Resource[]) may expose internal representation by storing an externally mutable object into PrefixedPropertiesPlaceholderConfigurer.locations | MALICIOUS_CODE | EI_EXPOSE_REP2 | 226 | Medium |
net.sf.prefixedproperties.spring.PrefixedPropertiesPlaceholderConfigurer.setPropertiesArray(Properties[]) may expose internal representation by storing an externally mutable object into PrefixedPropertiesPlaceholderConfigurer.localProperties | MALICIOUS_CODE | EI_EXPOSE_REP2 | 267 | Medium |
Inconsistent synchronization of net.sf.prefixedproperties.spring.PrefixedPropertiesPlaceholderConfigurer.defaultPrefix; locked 50% of time | MT_CORRECTNESS | IS2_INCONSISTENT_SYNC | 160 | Medium |
Inconsistent synchronization of net.sf.prefixedproperties.spring.PrefixedPropertiesPlaceholderConfigurer.defaultPrefixSystemPropertyKey; locked 75% of time | MT_CORRECTNESS | IS2_INCONSISTENT_SYNC | 171 | Medium |
Inconsistent synchronization of net.sf.prefixedproperties.spring.PrefixedPropertiesPlaceholderConfigurer.environmentFactory; locked 66% of time | MT_CORRECTNESS | IS2_INCONSISTENT_SYNC | 181 | Medium |
Inconsistent synchronization of net.sf.prefixedproperties.spring.PrefixedPropertiesPlaceholderConfigurer.myProperties; locked 50% of time | MT_CORRECTNESS | IS2_INCONSISTENT_SYNC | 107 | Medium |
Inconsistent synchronization of net.sf.prefixedproperties.spring.PrefixedPropertiesPlaceholderConfigurer.prefixConfigList; locked 66% of time | MT_CORRECTNESS | IS2_INCONSISTENT_SYNC | 236 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
net.sf.prefixedproperties.spring.PrefixedPropertyOverrideConfigurer.setPropertiesArray(Properties[]) may expose internal representation by storing an externally mutable object into PrefixedPropertyOverrideConfigurer.localProperties | MALICIOUS_CODE | EI_EXPOSE_REP2 | 218 | Medium |
Inconsistent synchronization of net.sf.prefixedproperties.spring.PrefixedPropertyOverrideConfigurer.defaultPrefix; locked 50% of time | MT_CORRECTNESS | IS2_INCONSISTENT_SYNC | 115 | Medium |
Inconsistent synchronization of net.sf.prefixedproperties.spring.PrefixedPropertyOverrideConfigurer.defaultPrefixSystemPropertyKey; locked 75% of time | MT_CORRECTNESS | IS2_INCONSISTENT_SYNC | 126 | Medium |
Inconsistent synchronization of net.sf.prefixedproperties.spring.PrefixedPropertyOverrideConfigurer.environmentFactory; locked 66% of time | MT_CORRECTNESS | IS2_INCONSISTENT_SYNC | 136 | Medium |
Inconsistent synchronization of net.sf.prefixedproperties.spring.PrefixedPropertyOverrideConfigurer.myProperties; locked 50% of time | MT_CORRECTNESS | IS2_INCONSISTENT_SYNC | 93 | Medium |
Inconsistent synchronization of net.sf.prefixedproperties.spring.PrefixedPropertyOverrideConfigurer.prefixConfigList; locked 66% of time | MT_CORRECTNESS | IS2_INCONSISTENT_SYNC | 196 | Medium |