PMD Results

The following document contains the results of PMD 5.6.1.

Files

net/sf/oval/configuration/annotation/AbstractAnnotationCheck.java

Violation Line
Avoid empty catch blocks 5254
Avoid empty catch blocks 8587

net/sf/oval/configuration/annotation/JPAAnnotationsConfigurer.java

Violation Line
These nested if statements could be combined 211212

net/sf/oval/constraint/Assert.java

Violation Line
Avoid modifiers which are implied by the context 4059

net/sf/oval/constraint/AssertConstraintSet.java

Violation Line
Avoid modifiers which are implied by the context 3958

net/sf/oval/constraint/AssertFalse.java

Violation Line
Avoid modifiers which are implied by the context 4463

net/sf/oval/constraint/AssertFieldConstraints.java

Violation Line
Avoid modifiers which are implied by the context 3857

net/sf/oval/constraint/AssertNull.java

Violation Line
Avoid modifiers which are implied by the context 4059

net/sf/oval/constraint/AssertTrue.java

Violation Line
Avoid modifiers which are implied by the context 4463

net/sf/oval/constraint/AssertURL.java

Violation Line
Avoid modifiers which are implied by the context 4564

net/sf/oval/constraint/AssertURLCheck.java

Violation Line
Avoid modifiers which are implied by the context 4264
Unnecessary use of fully qualified name 'Validator.getLocaleProvider' due to existing static import 'net.sf.oval.Validator.*' 151

net/sf/oval/constraint/AssertValid.java

Violation Line
Avoid modifiers which are implied by the context 4059

net/sf/oval/constraint/CheckWith.java

Violation Line
Avoid modifiers which are implied by the context 4261

net/sf/oval/constraint/DateRange.java

Violation Line
Avoid modifiers which are implied by the context 4463

net/sf/oval/constraint/Digits.java

Violation Line
Avoid modifiers which are implied by the context 4463

net/sf/oval/constraint/Email.java

Violation Line
Avoid modifiers which are implied by the context 4463

net/sf/oval/constraint/EqualToField.java

Violation Line
Avoid modifiers which are implied by the context 4463

net/sf/oval/constraint/Future.java

Violation Line
Avoid modifiers which are implied by the context 4463

net/sf/oval/constraint/FutureCheck.java

Violation Line
Avoid empty catch blocks 3941

net/sf/oval/constraint/HasSubstring.java

Violation Line
Avoid modifiers which are implied by the context 4463

net/sf/oval/constraint/HasSubstringCheck.java

Violation Line
Unnecessary use of fully qualified name 'Validator.getLocaleProvider' due to existing static import 'net.sf.oval.Validator.*' 61
Unnecessary use of fully qualified name 'Validator.getLocaleProvider' due to existing static import 'net.sf.oval.Validator.*' 75

net/sf/oval/constraint/InstanceOf.java

Violation Line
Avoid modifiers which are implied by the context 4463

net/sf/oval/constraint/InstanceOfAny.java

Violation Line
Avoid modifiers which are implied by the context 4463

net/sf/oval/constraint/Length.java

Violation Line
Avoid modifiers which are implied by the context 4463

net/sf/oval/constraint/MatchPattern.java

Violation Line
Avoid modifiers which are implied by the context 4463

net/sf/oval/constraint/Max.java

Violation Line
Avoid modifiers which are implied by the context 4463

net/sf/oval/constraint/MaxLength.java

Violation Line
Avoid modifiers which are implied by the context 4463

net/sf/oval/constraint/MaxSize.java

Violation Line
Avoid modifiers which are implied by the context 4463

net/sf/oval/constraint/MemberOf.java

Violation Line
Avoid modifiers which are implied by the context 4463

net/sf/oval/constraint/MemberOfCheck.java

Violation Line
Unnecessary use of fully qualified name 'Validator.getLocaleProvider' due to existing static import 'net.sf.oval.Validator.*' 67
Unnecessary use of fully qualified name 'Validator.getLocaleProvider' due to existing static import 'net.sf.oval.Validator.*' 82

net/sf/oval/constraint/Min.java

Violation Line
Avoid modifiers which are implied by the context 4463

net/sf/oval/constraint/MinLength.java

Violation Line
Avoid modifiers which are implied by the context 4463

net/sf/oval/constraint/MinSize.java

Violation Line
Avoid modifiers which are implied by the context 4463

net/sf/oval/constraint/NoSelfReference.java

Violation Line
Avoid modifiers which are implied by the context 4160

net/sf/oval/constraint/NotBlank.java

Violation Line
Avoid modifiers which are implied by the context 4463

net/sf/oval/constraint/NotEmpty.java

Violation Line
Avoid modifiers which are implied by the context 4463

net/sf/oval/constraint/NotEqual.java

Violation Line
Avoid modifiers which are implied by the context 4463

net/sf/oval/constraint/NotEqualCheck.java

Violation Line
Unnecessary use of fully qualified name 'Validator.getLocaleProvider' due to existing static import 'net.sf.oval.Validator.*' 60
Unnecessary use of fully qualified name 'Validator.getLocaleProvider' due to existing static import 'net.sf.oval.Validator.*' 74

net/sf/oval/constraint/NotEqualToField.java

Violation Line
Avoid modifiers which are implied by the context 4463

net/sf/oval/constraint/NotMatchPattern.java

Violation Line
Avoid modifiers which are implied by the context 4463

net/sf/oval/constraint/NotMemberOf.java

Violation Line
Avoid modifiers which are implied by the context 4463

net/sf/oval/constraint/NotMemberOfCheck.java

Violation Line
Unnecessary use of fully qualified name 'Validator.getLocaleProvider' due to existing static import 'net.sf.oval.Validator.*' 67
Unnecessary use of fully qualified name 'Validator.getLocaleProvider' due to existing static import 'net.sf.oval.Validator.*' 82

net/sf/oval/constraint/NotNegative.java

Violation Line
Avoid modifiers which are implied by the context 4463

net/sf/oval/constraint/NotNull.java

Violation Line
Avoid modifiers which are implied by the context 4059

net/sf/oval/constraint/Past.java

Violation Line
Avoid modifiers which are implied by the context 4463

net/sf/oval/constraint/PastCheck.java

Violation Line
Avoid empty catch blocks 3941

net/sf/oval/constraint/Range.java

Violation Line
Avoid modifiers which are implied by the context 4463

net/sf/oval/constraint/Size.java

Violation Line
Avoid modifiers which are implied by the context 4665

net/sf/oval/constraint/ValidateWithMethod.java

Violation Line
Avoid modifiers which are implied by the context 4160

net/sf/oval/guard/Guard.java

Violation Line
Ternary operators that can be simplified with || or && 1015
Ternary operators that can be simplified with || or && 1030

net/sf/oval/guard/GuardAspect2.java

Violation Line
Avoid unused private fields such as 'implementedInterface'. 60

net/sf/oval/internal/util/ReflectionUtils.java

Violation Line
Avoid empty catch blocks 9597
Avoid empty catch blocks 325327
Avoid empty catch blocks 458460

net/sf/oval/localization/message/ResourceBundleMessageResolver.java

Violation Line
Unnecessary use of fully qualified name 'Validator.getLocaleProvider' due to existing static import 'net.sf.oval.Validator.*' 120

net/sf/oval/ogn/ObjectGraphNavigatorJXPathImpl.java

Violation Line
Ensure you override both equals() and hashCode() 58