Skip to content

Commit

Permalink
Fix JUnit exclusions
Browse files Browse the repository at this point in the history
  • Loading branch information
stoyicker committed Nov 9, 2018
1 parent c81f164 commit b4443d3
Showing 1 changed file with 6 additions and 15 deletions.
21 changes: 6 additions & 15 deletions plugin/src/main/resources/pmd/conf-default.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,21 +53,7 @@
<exclude name="ModifiedCyclomaticComplexity" />
<exclude name="NcssCount" />
<exclude name="ExcessiveImports" />
<rule name="ExcessiveMethodLength">
<properties>
<property name="IgnoreJUnitCompletely" value="true" />
</properties>
</rule>
<rule name="SignatureDeclareThrowsException">
<properties>
<property name="IgnoreJUnitCompletely" value="true" />
</properties>
</rule>
<rule name="AvoidCatchingGenericException">
<properties>
<property name="IgnoreJUnitCompletely" value="true" />
</properties>
</rule>
<exclude name="ExcessiveMethodLength" />
<exclude name="LawOfDemeter" />
<exclude name="LoosePackageCoupling" />
<exclude name="ImmutableField" />
Expand All @@ -76,6 +62,11 @@
<exclude name="UselessOverridingMethod" />
<exclude name="UseUtilityClass" />
</rule>
<rule ref="category/java/design.xml/SignatureDeclareThrowsException">
<properties>
<property name="IgnoreJUnitCompletely" value="true" />
</properties>
</rule>
<rule ref="category/java/performance.xml">
<exclude name="TooFewBranchesForASwitchStatement" />
</rule>
Expand Down

0 comments on commit b4443d3

Please sign in to comment.