The following document contains the results of FindBugs
FindBugs Version is 3.0.1
Threshold is medium
Effort is min
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.universAAL.middleware.bus.junit.BusTestCase.mc should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | Medium | |
org.universAAL.middleware.bus.junit.BusTestCase.mcs should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.universAAL.middleware.bus.junit.BusTestCase$2$1 defines non-transient non-serializable instance field this$1 | BAD_PRACTICE | SE_BAD_FIELD | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
instanceof will always return true for all non-null values in org.universAAL.middleware.bus.junit.ManifestTestCase.extendRequestChangeEffect(GraphIteratorElement), since all org.universAAL.middleware.rdf.Resource are instances of org.universAAL.middleware.rdf.Resource | STYLE | BC_VACUOUS_INSTANCEOF | 239 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Should org.universAAL.middleware.bus.junit.ManifestTestCase$Element be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 65 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Random object created and used only once in org.universAAL.middleware.bus.junit.OntTestCase.ontFileName(Ontology) | BAD_PRACTICE | DMI_RANDOM_USED_ONLY_ONCE | 539 | High |
Found reliance on default encoding in org.universAAL.middleware.bus.junit.OntTestCase.writeTTL(Ontology, File): new java.io.FileWriter(File, boolean) | I18N | DM_DEFAULT_ENCODING | 558 | High |
Redundant nullcheck of name, which is known to be non-null in org.universAAL.middleware.bus.junit.OntTestCase.ontFileName(Ontology) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 536 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Return value of java.io.StringWriter.toString() ignored, but method has no side effect | STYLE | RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT | 133 | High |
Switch statement found in org.universAAL.middleware.bus.junit.OntTestCase$LogEntry.toString() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 109 | Medium |
Should org.universAAL.middleware.bus.junit.OntTestCase$LogEntry be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 79 | Medium |
Unread field: org.universAAL.middleware.bus.junit.OntTestCase$LogEntry.cls | PERFORMANCE | URF_UNREAD_FIELD | 84 | Medium |
Unread field: org.universAAL.middleware.bus.junit.OntTestCase$LogEntry.method | PERFORMANCE | URF_UNREAD_FIELD | 85 | Medium |
Unread field: org.universAAL.middleware.bus.junit.OntTestCase$LogEntry.module | PERFORMANCE | URF_UNREAD_FIELD | 82 | Medium |
Unread field: org.universAAL.middleware.bus.junit.OntTestCase$LogEntry.pkg | PERFORMANCE | URF_UNREAD_FIELD | 83 | Medium |