FindBugs Bug Detector Report

The following document contains the results of FindBugs

FindBugs Version is 3.0.1

Threshold is low

Effort is max

Summary

Classes Bugs Errors Missing Classes
121 74 0 0

Files

Class Bugs
de.fhdw.wtf.context.model.AnyTypeDbAspect 5
de.fhdw.wtf.context.model.ServiceAspectWithDB 4
de.fhdw.wtf.context.model.collections.TransientMap 1
generated.model.de.fhdw.partner.AccountNumber 1
generated.model.de.fhdw.partner.Bankidentifier 1
generated.model.de.fhdw.partner.City 1
generated.model.de.fhdw.partner.Country 1
generated.model.de.fhdw.partner.GlobalTelefonbuch 3
generated.model.de.fhdw.partner.Haus 1
generated.model.de.fhdw.partner.IBAN_Finder 5
generated.model.de.fhdw.partner.NatuerlichePerson 2
generated.model.de.fhdw.partner.PersonGroups 2
generated.model.de.fhdw.partner.Postfach 1
generated.model.de.fhdw.partner.Telefon 1
generated.model.de.fhdw.partner.Telefonbuch 2
generated.model.de.fhdw.partner.TelefonbuchMitPersonAlsKey 2
generated.model.de.fhdw.partner.Telefonbuecher 2
test.integration.TestAssociation3WithDB 4
test.integration.TestBaseWithDB 25
test.integration.TestMutableSetIterator 6
test.integration.TestPersonModel 4

de.fhdw.wtf.context.model.AnyTypeDbAspect

Bug Category Details Line Priority
Invocation of reflect.Field.setAccessible(boolean), which should be invoked from within a doPrivileged block, in de.fhdw.wtf.context.model.AnyTypeDbAspect.ajc$around$de_fhdw_wtf_context_model_AnyTypeDbAspect$5$d69130ee(IAnyType, AroundClosure, JoinPoint$StaticPart) MALICIOUS_CODE DP_DO_INSIDE_DO_PRIVILEGED 106 Low
Invocation of reflect.Field.setAccessible(boolean), which should be invoked from within a doPrivileged block, in de.fhdw.wtf.context.model.AnyTypeDbAspect.ajc$around$de_fhdw_wtf_context_model_AnyTypeDbAspect$6$7da92432(IAnyType, AroundClosure, JoinPoint$StaticPart) MALICIOUS_CODE DP_DO_INSIDE_DO_PRIVILEGED 144 Low
Invocation of reflect.Field.setAccessible(boolean), which should be invoked from within a doPrivileged block, in de.fhdw.wtf.context.model.AnyTypeDbAspect.ajc$around$de_fhdw_wtf_context_model_AnyTypeDbAspect$7$1f8a6690(IAnyType, AroundClosure, JoinPoint$StaticPart) MALICIOUS_CODE DP_DO_INSIDE_DO_PRIVILEGED 181 Low
Invocation of reflect.Field.setAccessible(boolean), which should be invoked from within a doPrivileged block, in de.fhdw.wtf.context.model.AnyTypeDbAspect.ajc$around$de_fhdw_wtf_context_model_AnyTypeDbAspect$8$24aa76a3(IAnyType, AroundClosure, JoinPoint$StaticPart) MALICIOUS_CODE DP_DO_INSIDE_DO_PRIVILEGED 201 Low
Invocation of reflect.Field.setAccessible(boolean), which should be invoked from within a doPrivileged block, in de.fhdw.wtf.context.model.AnyTypeDbAspect.ajc$around$de_fhdw_wtf_context_model_AnyTypeDbAspect$9$eff3cb25(IAnyType, AroundClosure, JoinPoint$StaticPart) MALICIOUS_CODE DP_DO_INSIDE_DO_PRIVILEGED 221 Low

de.fhdw.wtf.context.model.ServiceAspectWithDB

Bug Category Details Line Priority
Unchecked/unconfirmed cast from de.fhdw.wtf.persistence.meta.UserObject to de.fhdw.wtf.persistence.meta.UserTransaction of return value in de.fhdw.wtf.context.model.ServiceAspectWithDB.ajc$afterReturning$de_fhdw_wtf_context_model_ServiceAspectWithDB$1$eecbaf31(JoinPoint) STYLE BC_UNCONFIRMED_CAST_OF_RETURN_VALUE 45 Low
Invocation of reflect.Field.setAccessible(boolean), which should be invoked from within a doPrivileged block, in de.fhdw.wtf.context.model.ServiceAspectWithDB.ajc$around$de_fhdw_wtf_context_model_ServiceAspectWithDB$3$6b020869(Service, AroundClosure, JoinPoint$StaticPart) MALICIOUS_CODE DP_DO_INSIDE_DO_PRIVILEGED 75 Low
Invocation of reflect.Field.setAccessible(boolean), which should be invoked from within a doPrivileged block, in de.fhdw.wtf.context.model.ServiceAspectWithDB.ajc$around$de_fhdw_wtf_context_model_ServiceAspectWithDB$4$6220e1f3(Service, AroundClosure, JoinPoint$StaticPart) MALICIOUS_CODE DP_DO_INSIDE_DO_PRIVILEGED 102 Low
Invocation of reflect.Field.setAccessible(boolean), which should be invoked from within a doPrivileged block, in de.fhdw.wtf.context.model.ServiceAspectWithDB.ajc$around$de_fhdw_wtf_context_model_ServiceAspectWithDB$5$70639b31(Service, AroundClosure, JoinPoint$StaticPart) MALICIOUS_CODE DP_DO_INSIDE_DO_PRIVILEGED 129 Low

de.fhdw.wtf.context.model.collections.TransientMap

Bug Category Details Line Priority
de.fhdw.wtf.context.model.collections.TransientMap doesn't override de.fhdw.wtf.context.model.AnyType.equals(Object) STYLE EQ_DOESNT_OVERRIDE_EQUALS 1 Medium

generated.model.de.fhdw.partner.AccountNumber

Bug Category Details Line Priority
generated.model.de.fhdw.partner.AccountNumber doesn't override de.fhdw.wtf.context.model.AnyType.equals(Object) STYLE EQ_DOESNT_OVERRIDE_EQUALS 1 Medium

generated.model.de.fhdw.partner.Bankidentifier

Bug Category Details Line Priority
generated.model.de.fhdw.partner.Bankidentifier doesn't override de.fhdw.wtf.context.model.AnyType.equals(Object) STYLE EQ_DOESNT_OVERRIDE_EQUALS 1 Medium

generated.model.de.fhdw.partner.City

Bug Category Details Line Priority
generated.model.de.fhdw.partner.City doesn't override de.fhdw.wtf.context.model.AnyType.equals(Object) STYLE EQ_DOESNT_OVERRIDE_EQUALS 1 Medium

generated.model.de.fhdw.partner.Country

Bug Category Details Line Priority
generated.model.de.fhdw.partner.Country doesn't override de.fhdw.wtf.context.model.AnyType.equals(Object) STYLE EQ_DOESNT_OVERRIDE_EQUALS 1 Medium

generated.model.de.fhdw.partner.GlobalTelefonbuch

Bug Category Details Line Priority
generated.model.de.fhdw.partner.GlobalTelefonbuch doesn't override de.fhdw.wtf.context.model.AnyType.equals(Object) STYLE EQ_DOESNT_OVERRIDE_EQUALS 1 Medium
Private method generated.model.de.fhdw.partner.GlobalTelefonbuch.init$_aroundBody4(GlobalTelefonbuch) is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 38 Low
Private method generated.model.de.fhdw.partner.GlobalTelefonbuch.init$_aroundBody8(GlobalTelefonbuch) is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 50 Low

generated.model.de.fhdw.partner.Haus

Bug Category Details Line Priority
generated.model.de.fhdw.partner.Haus doesn't override de.fhdw.wtf.context.model.AnyType.equals(Object) STYLE EQ_DOESNT_OVERRIDE_EQUALS 1 Medium

generated.model.de.fhdw.partner.IBAN_Finder

Bug Category Details Line Priority
generated.model.de.fhdw.partner.IBAN_Finder doesn't override de.fhdw.wtf.context.model.AnyType.equals(Object) STYLE EQ_DOESNT_OVERRIDE_EQUALS 1 Medium
Private method generated.model.de.fhdw.partner.IBAN_Finder.init$_aroundBody0(IBAN_Finder) is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 21 Low
Private method generated.model.de.fhdw.partner.IBAN_Finder.init$_aroundBody10(IBAN_Finder) is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 85 Low
Private method generated.model.de.fhdw.partner.IBAN_Finder.init$_aroundBody6(IBAN_Finder) is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 79 Low
Private method generated.model.de.fhdw.partner.IBAN_Finder.init$_aroundBody8(IBAN_Finder) is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 84 Low

generated.model.de.fhdw.partner.NatuerlichePerson

Bug Category Details Line Priority
generated.model.de.fhdw.partner.NatuerlichePerson doesn't override de.fhdw.wtf.context.model.AnyType.equals(Object) STYLE EQ_DOESNT_OVERRIDE_EQUALS 1 Medium
Private method generated.model.de.fhdw.partner.NatuerlichePerson.init$_aroundBody2(NatuerlichePerson) is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 53 Low

generated.model.de.fhdw.partner.PersonGroups

Bug Category Details Line Priority
generated.model.de.fhdw.partner.PersonGroups doesn't override de.fhdw.wtf.context.model.AnyType.equals(Object) STYLE EQ_DOESNT_OVERRIDE_EQUALS 1 Medium
Private method generated.model.de.fhdw.partner.PersonGroups.init$_aroundBody0(PersonGroups) is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 21 Low

generated.model.de.fhdw.partner.Postfach

Bug Category Details Line Priority
generated.model.de.fhdw.partner.Postfach doesn't override de.fhdw.wtf.context.model.AnyType.equals(Object) STYLE EQ_DOESNT_OVERRIDE_EQUALS 1 Medium

generated.model.de.fhdw.partner.Telefon

Bug Category Details Line Priority
generated.model.de.fhdw.partner.Telefon doesn't override de.fhdw.wtf.context.model.AnyType.equals(Object) STYLE EQ_DOESNT_OVERRIDE_EQUALS 1 Medium

generated.model.de.fhdw.partner.Telefonbuch

Bug Category Details Line Priority
generated.model.de.fhdw.partner.Telefonbuch doesn't override de.fhdw.wtf.context.model.AnyType.equals(Object) STYLE EQ_DOESNT_OVERRIDE_EQUALS 1 Medium
Private method generated.model.de.fhdw.partner.Telefonbuch.init$_aroundBody0(Telefonbuch) is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 21 Low

generated.model.de.fhdw.partner.TelefonbuchMitPersonAlsKey

Bug Category Details Line Priority
generated.model.de.fhdw.partner.TelefonbuchMitPersonAlsKey doesn't override de.fhdw.wtf.context.model.AnyType.equals(Object) STYLE EQ_DOESNT_OVERRIDE_EQUALS 1 Medium
Private method generated.model.de.fhdw.partner.TelefonbuchMitPersonAlsKey.init$_aroundBody0(TelefonbuchMitPersonAlsKey) is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 22 Low

generated.model.de.fhdw.partner.Telefonbuecher

Bug Category Details Line Priority
generated.model.de.fhdw.partner.Telefonbuecher doesn't override de.fhdw.wtf.context.model.AnyType.equals(Object) STYLE EQ_DOESNT_OVERRIDE_EQUALS 1 Medium
Private method generated.model.de.fhdw.partner.Telefonbuecher.init$_aroundBody0(Telefonbuecher) is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 23 Low

test.integration.TestAssociation3WithDB

Bug Category Details Line Priority
instanceof will always return true for all non-null values in test.integration.TestAssociation3WithDB.testAssociation3Type(), since all de.fhdw.wtf.persistence.meta.MapAssociation are instances of de.fhdw.wtf.persistence.meta.MapAssociation STYLE BC_VACUOUS_INSTANCEOF 136 Medium
Unread field: test.integration.TestAssociation3WithDB.mapLinks PERFORMANCE URF_UNREAD_FIELD 83 Medium
TestAssociation3WithDB.anotherUserObject not initialized in constructor and dereferenced in test.integration.TestAssociation3WithDB.testCreateLink3() STYLE UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR 164 Low
TestAssociation3WithDB.someUserObject not initialized in constructor and dereferenced in test.integration.TestAssociation3WithDB.testCreateLink3() STYLE UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR 162 Low

test.integration.TestBaseWithDB

Bug Category Details Line Priority
test.integration.TestBaseWithDB.tearDown() may fail to close database resource on exception BAD_PRACTICE ODR_OPEN_DATABASE_RESOURCE_EXCEPTION_PATH 340 Low
Exceptional return value of java.io.File.delete() ignored in test.integration.TestBaseWithDB.resetIDManager() BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 376 Medium
Unread field: test.integration.TestBaseWithDB.accountNumberId PERFORMANCE URF_UNREAD_FIELD 177 Medium
Unread field: test.integration.TestBaseWithDB.bankidentifierId PERFORMANCE URF_UNREAD_FIELD 185 Medium
Unread field: test.integration.TestBaseWithDB.cityName PERFORMANCE URF_UNREAD_FIELD 193 Medium
Unread field: test.integration.TestBaseWithDB.countryName PERFORMANCE URF_UNREAD_FIELD 201 Medium
Unread field: test.integration.TestBaseWithDB.globalTelefonbuchTelefonbuchMapsPerCity PERFORMANCE URF_UNREAD_FIELD 209 Medium
Unread field: test.integration.TestBaseWithDB.hausNummer PERFORMANCE URF_UNREAD_FIELD 302 Medium
Unread field: test.integration.TestBaseWithDB.hausService PERFORMANCE URF_UNREAD_FIELD 98 Medium
Unread field: test.integration.TestBaseWithDB.ibanFinderAccountTree PERFORMANCE URF_UNREAD_FIELD 217 Medium
Unread field: test.integration.TestBaseWithDB.mutableMapLinks PERFORMANCE URF_UNREAD_FIELD 174 Medium
Unread field: test.integration.TestBaseWithDB.mutableSetLinks PERFORMANCE URF_UNREAD_FIELD 167 Medium
Unread field: test.integration.TestBaseWithDB.natuerlichePersonKanal PERFORMANCE URF_UNREAD_FIELD 225 Medium
Unread field: test.integration.TestBaseWithDB.natuerlichePersonName PERFORMANCE URF_UNREAD_FIELD 232 Medium
Unread field: test.integration.TestBaseWithDB.personGroupsPersonGroups PERFORMANCE URF_UNREAD_FIELD 240 Medium
Unread field: test.integration.TestBaseWithDB.personService PERFORMANCE URF_UNREAD_FIELD 96 Medium
Unread field: test.integration.TestBaseWithDB.postfachNr PERFORMANCE URF_UNREAD_FIELD 255 Medium
Unread field: test.integration.TestBaseWithDB.postfachStadt PERFORMANCE URF_UNREAD_FIELD 248 Medium
Unread field: test.integration.TestBaseWithDB.telefonNr PERFORMANCE URF_UNREAD_FIELD 263 Medium
Unread field: test.integration.TestBaseWithDB.telefonbuchEintraege PERFORMANCE URF_UNREAD_FIELD 271 Medium
Unread field: test.integration.TestBaseWithDB.telefonbuchMitPersonAlsKeyEintraege PERFORMANCE URF_UNREAD_FIELD 279 Medium
Unread field: test.integration.TestBaseWithDB.telefonbuecherEintraege PERFORMANCE URF_UNREAD_FIELD 287 Medium
Unread field: test.integration.TestBaseWithDB.wohnhaft PERFORMANCE URF_UNREAD_FIELD 295 Medium
TestBaseWithDB.classFacade not initialized in constructor and dereferenced in test.integration.TestBaseWithDB.initializeTypesAndSpecializationAndAssociations() STYLE UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR 97 Low
TestBaseWithDB.classFacade not initialized in constructor and dereferenced in test.integration.TestBaseWithDB.tearDown() STYLE UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR 352 Low

test.integration.TestMutableSetIterator

Bug Category Details Line Priority
Private method test.integration.TestMutableSetIterator.init$_aroundBody0(TestMutableSetIterator) is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 30 Low
Private method test.integration.TestMutableSetIterator.init$_aroundBody10(TestMutableSetIterator) is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 82 Low
Private method test.integration.TestMutableSetIterator.init$_aroundBody2(TestMutableSetIterator) is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 45 Low
Private method test.integration.TestMutableSetIterator.init$_aroundBody4(TestMutableSetIterator) is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 60 Low
Private method test.integration.TestMutableSetIterator.init$_aroundBody6(TestMutableSetIterator) is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 62 Low
Private method test.integration.TestMutableSetIterator.init$_aroundBody8(TestMutableSetIterator) is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 79 Low

test.integration.TestPersonModel

Bug Category Details Line Priority
Private method test.integration.TestPersonModel.init$_aroundBody0(TestPersonModel) is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 181 Low
Private method test.integration.TestPersonModel.init$_aroundBody2(TestPersonModel) is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 184 Low
Private method test.integration.TestPersonModel.init$_aroundBody4(TestPersonModel) is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 230 Low
Private method test.integration.TestPersonModel.init$_aroundBody6(TestPersonModel) is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 237 Low