| Bug | 
Category | 
Details | 
Line | 
Priority | 
| instanceof will always return true for all non-null values in org.universAAL.ontology.reasoner.util.ElementModel.add(Resource), since all org.universAAL.ontology.reasoner.Persistent are instances of org.universAAL.ontology.reasoner.Persistent | 
STYLE | 
BC_VACUOUS_INSTANCEOF | 
197 | 
Medium | 
| instanceof will always return true for all non-null values in org.universAAL.ontology.reasoner.util.ElementModel.remove(Resource), since all org.universAAL.ontology.reasoner.Persistent are instances of org.universAAL.ontology.reasoner.Persistent | 
STYLE | 
BC_VACUOUS_INSTANCEOF | 
209 | 
Medium | 
| Found reliance on default encoding in org.universAAL.ontology.reasoner.util.ElementModel.load(File): new java.io.FileReader(File) | 
I18N | 
DM_DEFAULT_ENCODING | 
167 | 
High | 
| Found reliance on default encoding in org.universAAL.ontology.reasoner.util.ElementModel.saveObject(Resource, File): new java.io.FileWriter(File, boolean) | 
I18N | 
DM_DEFAULT_ENCODING | 
137 | 
High | 
| Possible null pointer dereference in org.universAAL.ontology.reasoner.util.ElementModel.loadElements() due to return value of called method | 
STYLE | 
NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE | 
158 | 
Medium | 
| Exceptional return value of java.io.File.mkdirs() ignored in new org.universAAL.ontology.reasoner.util.ElementModel(Class, MessageContentSerializer, String) | 
BAD_PRACTICE | 
RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 
109 | 
Medium | 
| Exceptional return value of java.io.File.delete() ignored in org.universAAL.ontology.reasoner.util.ElementModel.remove(Resource) | 
BAD_PRACTICE | 
RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 
215 | 
Medium |