Revision 834cbccc6a7c2bcd27f26c3df7787ce6ab6b213d authored by Denis Yuen on 13 September 2018, 19:35:35 UTC, committed by Denis Yuen on 13 September 2018, 19:35:35 UTC
1 parent c3880a6
Raw File
checkstyle-suppressions.xml
<?xml version="1.0"?>

<!--
  ~    Copyright 2017 OICR
  ~
  ~    Licensed under the Apache License, Version 2.0 (the "License");
  ~    you may not use this file except in compliance with the License.
  ~    You may obtain a copy of the License at
  ~
  ~        http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~    Unless required by applicable law or agreed to in writing, software
  ~    distributed under the License is distributed on an "AS IS" BASIS,
  ~    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  ~    See the License for the specific language governing permissions and
  ~    limitations under the License.
  -->
<!DOCTYPE suppressions PUBLIC
        "-//Puppy Crawl//DTD Suppressions 1.1//EN"
        "http://checkstyle.sourceforge.net/dtds/suppressions_1_1.dtd">


<suppressions>
    <!-- Tone down the checking for test code -->
    <suppress checks="CyclomaticComplexity" files="[\\/]XdocsPagesTest\.java"/>
    <suppress checks="NPathComplexity" files="[\\/]XdocsPagesTest\.java"/>
    <suppress checks="IllegalCatch" files="[\\/]internal[\\/]\w+Util\.java"/>
    <suppress checks="EmptyBlock" files=".*[\\/]src[\\/]test[\\/]"/>
    <suppress checks="Javadoc" files=".*[\\/]src[\\/](test|it)[\\/]"/>
    <suppress checks="MagicNumber" files=".*[\\/]src[\\/](test|it)[\\/]"/>
    <suppress checks="AvoidStaticImport" files=".*[\\/]src[\\/](test|it)[\\/]"/>
    <suppress checks="ClassDataAbstractionCoupling" files="[\\/]IndentationCheckTest.java$|[\\/]SuppressWithNearbyCommentFilterTest.java$|[\\/]SuppressionCommentFilterTest.java$"/>
    <suppress checks="EqualsAvoidNull" files="[\\/]Int.*FilterTest.java$"/>
    <suppress checks="VisibilityModifier" files="[\\/]BaseCheckTestSupport.java$|[\\/]AbstractModuleTestSupport.java$"/>
    <suppress checks="WriteTag" files=".*[\\/]src[\\/](test|it)[\\/]"/>
    <suppress checks="MethodCount" files=".*[\\/]src[\\/](test|it)[\\/]"/>

    <!--The Check generates too many violations, fixing them will make code unmanageable.-->
    <suppress checks="MagicNumber" files="(ParseTreeTablePresentation|MainFrame)\.java"/>
</suppressions>
back to top