FindBugs Bug Detector Report

The following document contains the results of FindBugs

FindBugs Version is 3.0.1

Threshold is medium

Effort is max

Summary

Classes Bugs Errors Missing Classes
529 73 0 3

Files

Class Bugs
net.sf.oval.AbstractCheck 2
net.sf.oval.constraint.FutureCheck 1
net.sf.oval.constraint.PastCheck 1
net.sf.oval.constraint.ValidateWithMethodCheck 1
net.sf.oval.guard.Guard$GuardMethodPreResult 1
net.sf.oval.internal.util.WeakHashSet 1
net.sf.oval.ogn.ObjectGraphNavigatorJXPathImpl$BeanPointerEx 1
net.sf.oval.test.constraints.EqualToFieldTest 1
net.sf.oval.test.constraints.EqualToFieldTest$Entity 1
net.sf.oval.test.constraints.NotEqualToFieldTest 1
net.sf.oval.test.constraints.NotEqualToFieldTest$Entity 1
net.sf.oval.test.guard.InnerClassTest 1
net.sf.oval.test.guard.InnerClassTest$TestEntity$InnerClassNotGuarded 1
net.sf.oval.test.guard.OverridingEqualsTest$Entity 1
net.sf.oval.test.guard.XMLConfigurationTest 1
net.sf.oval.test.integration.guice.GuiceInjectorTest 1
net.sf.oval.test.integration.spring.SpringInjectorTest 1
net.sf.oval.test.validator.AssertBeanShellTest 3
net.sf.oval.test.validator.AssertGroovyTest 3
net.sf.oval.test.validator.AssertJavascriptTest 3
net.sf.oval.test.validator.AssertMVELTest 3
net.sf.oval.test.validator.AssertOGNLTest 3
net.sf.oval.test.validator.AssertRubyTest 3
net.sf.oval.test.validator.AssertScriptEngineJavascriptTest 3
net.sf.oval.test.validator.AssertValidTest 7
net.sf.oval.test.validator.BeanValidationAnnotationsConfigurerTest 1
net.sf.oval.test.validator.CheckWithConstraintTest 2
net.sf.oval.test.validator.CheckWithListConstraintTest 2
net.sf.oval.test.validator.CollectionTest 1
net.sf.oval.test.validator.ConcurrencyTest$TestEntity2 1
net.sf.oval.test.validator.ConditionalConstraintsTest 1
net.sf.oval.test.validator.ConstraintViolationOrderTest$TestEntity 2
net.sf.oval.test.validator.CustomAssertValidTest 7
net.sf.oval.test.validator.FieldConstraintsValidationTest 3
net.sf.oval.test.validator.PrimitiveArrayTest$Account 1
net.sf.oval.test.validator.TargetDefaultTest 2
net.sf.oval.test.validator.TargetJXPathTest$Level3 1
net.sf.oval.test.validator.ValidateClassWithoutConstraintsTest$TestEntity 1
net.sf.oval.test.validator.ValidateWithMethodConstraintTest 1
net.sf.oval.test.validator.XMLConfigurationTest 1

net.sf.oval.AbstractCheck

Bug Category Details Line Priority
Inconsistent synchronization of net.sf.oval.AbstractCheck.whenFormula; locked 66% of time MT_CORRECTNESS IS2_INCONSISTENT_SYNC 152 Medium
Inconsistent synchronization of net.sf.oval.AbstractCheck.whenLang; locked 40% of time MT_CORRECTNESS IS2_INCONSISTENT_SYNC 143 Medium

net.sf.oval.constraint.FutureCheck

Bug Category Details Line Priority
net.sf.oval.constraint.FutureCheck.isJavaTimeSatisfied(long, Object) has Boolean return type and returns explicit null BAD_PRACTICE NP_BOOLEAN_RETURN_NULL 88 High

net.sf.oval.constraint.PastCheck

Bug Category Details Line Priority
net.sf.oval.constraint.PastCheck.isJavaTimeSatisfied(long, Object) has Boolean return type and returns explicit null BAD_PRACTICE NP_BOOLEAN_RETURN_NULL 88 High

net.sf.oval.constraint.ValidateWithMethodCheck

Bug Category Details Line Priority
Class net.sf.oval.constraint.ValidateWithMethodCheck defines non-transient non-serializable instance field validationMethodsByClass BAD_PRACTICE SE_BAD_FIELD Not available Medium

net.sf.oval.guard.Guard$GuardMethodPreResult

Bug Category Details Line Priority
new net.sf.oval.guard.Guard$GuardMethodPreResult(Object, Method, Object[], ClassChecks, boolean, Map, List) may expose internal representation by storing an externally mutable object into Guard$GuardMethodPreResult.args MALICIOUS_CODE EI_EXPOSE_REP2 76 Medium

net.sf.oval.internal.util.WeakHashSet

Bug Category Details Line Priority
Suspicious comparison of Boolean references in net.sf.oval.internal.util.WeakHashSet.remove(Object) BAD_PRACTICE RC_REF_COMPARISON_BAD_PRACTICE_BOOLEAN 127 Medium

net.sf.oval.ogn.ObjectGraphNavigatorJXPathImpl$BeanPointerEx

Bug Category Details Line Priority
net.sf.oval.ogn.ObjectGraphNavigatorJXPathImpl$BeanPointerEx defines equals but not hashCode BAD_PRACTICE HE_EQUALS_NO_HASHCODE 59-71 Medium

net.sf.oval.test.constraints.EqualToFieldTest

Bug Category Details Line Priority

net.sf.oval.test.constraints.EqualToFieldTest$Entity

Bug Category Details Line Priority
Unread public/protected field: net.sf.oval.test.constraints.EqualToFieldTest$Entity.password1 STYLE URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD 31 Medium

net.sf.oval.test.constraints.NotEqualToFieldTest

Bug Category Details Line Priority

net.sf.oval.test.constraints.NotEqualToFieldTest$Entity

Bug Category Details Line Priority
Unread public/protected field: net.sf.oval.test.constraints.NotEqualToFieldTest$Entity.password1 STYLE URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD 31 Medium

net.sf.oval.test.guard.InnerClassTest

Bug Category Details Line Priority
Useless object stored in variable instance of method net.sf.oval.test.guard.InnerClassTest.testInnerClassNotGuarded() STYLE UC_USELESS_OBJECT 98 Medium

net.sf.oval.test.guard.InnerClassTest$TestEntity$InnerClassNotGuarded

Bug Category Details Line Priority
Unread public/protected field: net.sf.oval.test.guard.InnerClassTest$TestEntity$InnerClassNotGuarded.name STYLE URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD 53 Medium

net.sf.oval.test.guard.OverridingEqualsTest$Entity

Bug Category Details Line Priority
net.sf.oval.test.guard.OverridingEqualsTest$Entity.equals(Object) is unusual STYLE EQ_UNUSUAL 1 Medium

net.sf.oval.test.guard.XMLConfigurationTest

Bug Category Details Line Priority
net.sf.oval.test.guard.XMLConfigurationTest.testImportedFile() may fail to clean up java.io.InputStream EXPERIMENTAL OBL_UNSATISFIED_OBLIGATION 138 Medium

net.sf.oval.test.integration.guice.GuiceInjectorTest

Bug Category Details Line Priority

net.sf.oval.test.integration.spring.SpringInjectorTest

Bug Category Details Line Priority

net.sf.oval.test.validator.AssertBeanShellTest

Bug Category Details Line Priority

net.sf.oval.test.validator.AssertGroovyTest

Bug Category Details Line Priority

net.sf.oval.test.validator.AssertJavascriptTest

Bug Category Details Line Priority

net.sf.oval.test.validator.AssertMVELTest

Bug Category Details Line Priority

net.sf.oval.test.validator.AssertOGNLTest

Bug Category Details Line Priority

net.sf.oval.test.validator.AssertRubyTest

Bug Category Details Line Priority

net.sf.oval.test.validator.AssertScriptEngineJavascriptTest

Bug Category Details Line Priority

net.sf.oval.test.validator.AssertValidTest

Bug Category Details Line Priority

net.sf.oval.test.validator.BeanValidationAnnotationsConfigurerTest

Bug Category Details Line Priority

net.sf.oval.test.validator.CheckWithConstraintTest

Bug Category Details Line Priority

net.sf.oval.test.validator.CheckWithListConstraintTest

Bug Category Details Line Priority

net.sf.oval.test.validator.CollectionTest

Bug Category Details Line Priority

net.sf.oval.test.validator.ConcurrencyTest$TestEntity2

Bug Category Details Line Priority
Unwritten public or protected field: net.sf.oval.test.validator.ConcurrencyTest$TestEntity2.name STYLE UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD 42 Medium

net.sf.oval.test.validator.ConditionalConstraintsTest

Bug Category Details Line Priority

net.sf.oval.test.validator.ConstraintViolationOrderTest$TestEntity

Bug Category Details Line Priority
Unread public/protected field: net.sf.oval.test.validator.ConstraintViolationOrderTest$TestEntity.name STYLE URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD 32 Medium
Unread public/protected field: net.sf.oval.test.validator.ConstraintViolationOrderTest$TestEntity.value STYLE URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD 34 Medium

net.sf.oval.test.validator.CustomAssertValidTest

Bug Category Details Line Priority

net.sf.oval.test.validator.FieldConstraintsValidationTest

Bug Category Details Line Priority

net.sf.oval.test.validator.PrimitiveArrayTest$Account

Bug Category Details Line Priority
Unread public/protected field: net.sf.oval.test.validator.PrimitiveArrayTest$Account.items STYLE URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD 34 Medium

net.sf.oval.test.validator.TargetDefaultTest

Bug Category Details Line Priority

net.sf.oval.test.validator.TargetJXPathTest$Level3

Bug Category Details Line Priority
net.sf.oval.test.validator.TargetJXPathTest$Level3.getArray() may expose internal representation by returning TargetJXPathTest$Level3.array MALICIOUS_CODE EI_EXPOSE_REP 71 Medium

net.sf.oval.test.validator.ValidateClassWithoutConstraintsTest$TestEntity

Bug Category Details Line Priority
Unread public/protected field: net.sf.oval.test.validator.ValidateClassWithoutConstraintsTest$TestEntity.name STYLE URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD 30 Medium

net.sf.oval.test.validator.ValidateWithMethodConstraintTest

Bug Category Details Line Priority

net.sf.oval.test.validator.XMLConfigurationTest

Bug Category Details Line Priority
net.sf.oval.test.validator.XMLConfigurationTest.testImportedFile() may fail to clean up java.io.InputStream EXPERIMENTAL OBL_UNSATISFIED_OBLIGATION 70 Medium