FindBugs Bug Detector Report

The following document contains the results of FindBugs

FindBugs Version is 3.0.1

Threshold is medium

Effort is min

Summary

Classes Bugs Errors Missing Classes
84 28 0 0

org.universAAL.context.rdf4j.sail.CardinalityStore$1$1

Bug Category Details Line Priority
Class org.universAAL.context.rdf4j.sail.CardinalityStore$1$1 defines non-transient non-serializable instance field this$1 BAD_PRACTICE SE_BAD_FIELD Medium

org.universAAL.context.rdf4j.sail.Collection2Store$1$1

Bug Category Details Line Priority
Class org.universAAL.context.rdf4j.sail.Collection2Store$1$1 defines non-transient non-serializable instance field this$1 BAD_PRACTICE SE_BAD_FIELD Medium

org.universAAL.context.rdf4j.sail.CollectionStore$1$1

Bug Category Details Line Priority
Class org.universAAL.context.rdf4j.sail.CollectionStore$1$1 defines non-transient non-serializable instance field this$1 BAD_PRACTICE SE_BAD_FIELD Medium

org.universAAL.context.rdf4j.sail.MemoryOverflowModel

Bug Category Details Line Priority
Exceptional return value of java.io.File.delete() ignored in org.universAAL.context.rdf4j.sail.MemoryOverflowModel.createTempDir(String) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 303 Medium
Exceptional return value of java.io.File.mkdir() ignored in org.universAAL.context.rdf4j.sail.MemoryOverflowModel.createTempDir(String) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 304 Medium
Exceptional return value of java.io.File.mkdirs() ignored in org.universAAL.context.rdf4j.sail.MemoryOverflowModel.createTempDir(String) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 299 Medium

org.universAAL.context.rdf4j.sail.NativeStore$1$1

Bug Category Details Line Priority
Class org.universAAL.context.rdf4j.sail.NativeStore$1$1 defines non-transient non-serializable instance field this$1 BAD_PRACTICE SE_BAD_FIELD Medium

org.universAAL.context.rdf4j.sail.SailSourceModel

Bug Category Details Line Priority
Using pointer equality to compare a SailSourceModel with a org.eclipse.rdf4j.model.Statement in org.universAAL.context.rdf4j.sail.SailSourceModel.toString() CORRECTNESS EC_UNRELATED_TYPES_USING_POINTER_EQUALITY 133 Medium

org.universAAL.context.rdf4j.sail.TxnStatusFile

Bug Category Details Line Priority
Found reliance on default encoding in org.universAAL.context.rdf4j.sail.TxnStatusFile.getTxnStatus(): new String(byte[]) I18N DM_DEFAULT_ENCODING 119 High

org.universAAL.context.rdf4j.sail.ValueStore

Bug Category Details Line Priority
org.universAAL.context.rdf4j.sail.ValueStore.getID(Value) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead PERFORMANCE DM_NUMBER_CTOR 278 Medium
org.universAAL.context.rdf4j.sail.ValueStore.getNamespace(int) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead PERFORMANCE DM_NUMBER_CTOR 687 Medium
org.universAAL.context.rdf4j.sail.ValueStore.getNamespaceID(String, boolean) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead PERFORMANCE DM_NUMBER_CTOR 678 Medium
org.universAAL.context.rdf4j.sail.ValueStore.getValue(int) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead PERFORMANCE DM_NUMBER_CTOR 196 Medium
org.universAAL.context.rdf4j.sail.ValueStore.storeValue(Value) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead PERFORMANCE DM_NUMBER_CTOR 343 Medium

org.universAAL.context.rdf4j.sail.crypt.CryptDataStore

Bug Category Details Line Priority
Found reliance on default encoding in org.universAAL.context.rdf4j.sail.crypt.CryptDataStore.getData(int): new String(byte[]) I18N DM_DEFAULT_ENCODING 111 High
Found reliance on default encoding in org.universAAL.context.rdf4j.sail.crypt.CryptDataStore.getData(int): String.getBytes() I18N DM_DEFAULT_ENCODING 111 High
Found reliance on default encoding in org.universAAL.context.rdf4j.sail.crypt.CryptDataStore.getID(byte[]): new String(byte[]) I18N DM_DEFAULT_ENCODING 145 High
Found reliance on default encoding in org.universAAL.context.rdf4j.sail.crypt.CryptDataStore.getID(byte[]): String.getBytes() I18N DM_DEFAULT_ENCODING 145 High
Found reliance on default encoding in org.universAAL.context.rdf4j.sail.crypt.CryptDataStore.storeData(byte[]): new String(byte[]) I18N DM_DEFAULT_ENCODING 196 High
Found reliance on default encoding in org.universAAL.context.rdf4j.sail.crypt.CryptDataStore.storeData(byte[]): String.getBytes() I18N DM_DEFAULT_ENCODING 196 High

org.universAAL.context.rdf4j.sail.crypt.CryptUtil

Bug Category Details Line Priority
Found reliance on default encoding in org.universAAL.context.rdf4j.sail.crypt.CryptUtil.decrypt(String, SecretKey): new String(byte[]) I18N DM_DEFAULT_ENCODING 223 High
Found reliance on default encoding in org.universAAL.context.rdf4j.sail.crypt.CryptUtil.encrypt(String, SecretKey): new String(byte[]) I18N DM_DEFAULT_ENCODING 253 High
Found reliance on default encoding in org.universAAL.context.rdf4j.sail.crypt.CryptUtil.encrypt(String, SecretKey): String.getBytes() I18N DM_DEFAULT_ENCODING 253 High
org.universAAL.context.rdf4j.sail.crypt.CryptUtil.generateKey(File) may fail to clean up java.io.OutputStream on checked exception EXPERIMENTAL OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE 271 Medium
org.universAAL.context.rdf4j.sail.crypt.CryptUtil.generateKeyPair() may fail to clean up java.io.OutputStream on checked exception EXPERIMENTAL OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE 290 Medium

org.universAAL.context.rdf4j.sail.model.NativeBNode

Bug Category Details Line Priority
org.universAAL.context.rdf4j.sail.model.NativeBNode defines equals but not hashCode BAD_PRACTICE HE_EQUALS_NO_HASHCODE 66 Medium

org.universAAL.context.rdf4j.sail.model.NativeIRI

Bug Category Details Line Priority
org.universAAL.context.rdf4j.sail.model.NativeIRI defines equals but not hashCode BAD_PRACTICE HE_EQUALS_NO_HASHCODE 70 Medium

org.universAAL.context.rdf4j.sail.model.NativeLiteral

Bug Category Details Line Priority
org.universAAL.context.rdf4j.sail.model.NativeLiteral defines equals but not hashCode BAD_PRACTICE HE_EQUALS_NO_HASHCODE 85 Medium