There should be option to exclude certain classes and java.lang when doing coupling checks. For example
<module name="ClassFanOutComplexity">
<property name="excludeClasses" value="Map, HashMap,List, ArrayList, SortedMap, TreeMap, Collection, Class" />
</module>
consider to specify Class names have to be with full names "java.util....." .....
http://checkstyle.sourceforge.net/config_metrics.html#ClassDataAbstractionCoupling
There should be option to exclude certain classes and java.lang when doing coupling checks. For example
consider to specify Class names have to be with full names "java.util....." .....