View Javadoc
1   /*
2   ClassDataAbstractionCoupling
3   max = 0
4   excludedClasses = (default)ArrayIndexOutOfBoundsException, ArrayList, Boolean, Byte, \
5                     Character, Class, Collection, Deprecated, Deque, Double, DoubleStream, \
6                     EnumSet, Exception, Float, FunctionalInterface, HashMap, HashSet, \
7                     IllegalArgumentException, IllegalStateException, IndexOutOfBoundsException, \
8                     IntStream, Integer, LinkedHashMap, LinkedHashSet, LinkedList, List, Long, \
9                     LongStream, Map, NullPointerException, Object, Optional, OptionalDouble, \
10                    OptionalInt, OptionalLong, Override, Queue, RuntimeException, SafeVarargs, \
11                    SecurityException, Set, Short, SortedMap, SortedSet, Stream, String, \
12                    StringBuffer, StringBuilder, SuppressWarnings, Throwable, TreeMap, TreeSet, \
13                    UnsupportedOperationException, Void, boolean, byte, char, double, float, \
14                    int, long, short, var, void
15  excludeClassesRegexps = (default)^$
16  excludedPackages = org.apache.hc.core5.http.ssl, org.apache.hc.core5.http.protocol, \
17  org.apache.hc.core5.http.nio.ssl, org.apache.hc.core5.http.nio.command
18  
19  
20  */
21  
22  package com.puppycrawl.tools.checkstyle.checks.metrics.classdataabstractioncoupling;
23  
24  import org.apache.hc.core5.http.ssl.TlsCiphers;
25  import org.apache.hc.core5.http.protocol.BasicHttpContext;
26  import org.apache.hc.core5.http.nio.ssl.BasicClientTlsStrategy;
27  import org.apache.hc.core5.http.nio.command.CommandSupport;
28  
29  public class InputClassDataAbstractionCouplingExcludedPackagesAllIgnored {
30      public TlsCiphers aa = new TlsCiphers();
31      public BasicHttpContext ab = new BasicHttpContext();
32  
33      class Inner { // total: ok
34          public BasicClientTlsStrategy b = new BasicClientTlsStrategy();
35          public CommandSupport c = new CommandSupport();
36      }
37  }
38  
39  class InputClassDataAbstractionCouplingExcludedPackagesAllIgnoredHidden { // total: ok
40      public CommandSupport c = new CommandSupport();
41  }
42