Issue #1566: ClassFanOutComplexity turned on

This commit is contained in:
Ruslan Diachenko 2015-08-31 15:19:52 +01:00 committed by Roman Ivanov
parent 87a56e240e
commit d410b2a21c
1 changed files with 5 additions and 4 deletions

View File

@ -337,6 +337,11 @@
<module name="PackageDeclaration"/>
<module name="VariableDeclarationUsageDistance"/>
<module name="OverloadMethodsDeclarationOrder"/>
<module name="ClassFanOutComplexity">
<property name="max" value="25"/>
<!-- Default classes are also listed-->
<property name="excludedClasses" value="boolean, byte, char, double, float, int, long, short, void, Boolean, Byte, Character, Double, Float, Integer, Long, Short, Void, Object, Class, String, StringBuffer, StringBuilder, ArrayIndexOutOfBoundsException, Exception, RuntimeException, IllegalArgumentException, IllegalStateException, IndexOutOfBoundsException, NullPointerException, Throwable, SecurityException, UnsupportedOperationException, List, ArrayList, Deque, Queue, LinkedList, Set, HashSet, SortedSet, TreeSet, Map, HashMap, SortedMap, TreeMap, DetailsAST, CheckstyleException, UnsupportedEncodingException, BuildException, ConversionException, FileNotFoundException, TestException, Log, Sets, Multimap, TokenStreamRecognitionException, RecognitionException, TokenStreamException, IOException"/>
</module>
<!--
All Checks bellow are our futute plan to enforce over our code.
@ -344,10 +349,6 @@
All of them have ignore severity to avoid build failure for now.
As all violations are resolved Check need to got default severity as all other.
-->
<module name="ClassFanOutComplexity">
<property name="severity" value="ignore"/>
</module>
<module name="SingleLineJavadoc">
<property name="severity" value="ignore"/>
</module>