ClassFanOutComplexity metric

Hi everyone,

I’m reviving this brainstorming: this metric is still often bothering me, and I’m seeing that it’s generally the first reason why we insert checkstyle exceptions in the project, see:

I still think that increasing this value a little (e.g. using checkstyle’s default) could help to avoid introducing those exception. We already added a bit more class to ignore in it (with Allowing more Excluded Classes for ClassFanOutComplexity) but not sure it’s enough: I have in particular the problem with some APIs like everything’s related to rendering and XWiki’s email API which involve a lot of different classes.