title: PMD rule God Class - understanding the metrics
body: <p>We are using the source code analyzer PMD in our Java project. I am trying to resolve the reported issues and I am currently struggling with the <code>GodClass</code> rule. I know that the idea is not to create huge classes. </p>
  
  <p>However, I don't like the word "huge" because it's too vague. Can anybody explain how the metrics of this rule works? The report says e.g.</p>
  
  <p><code>Possible God class (WMC=47, ATFD=11, TCC=0.06315789473684211)</code></p>
  
  <p>What do all these numbers mean? Does anybody know the formula that decides whether a particular class is huge or not?</p>
  
  <p>Javadoc to this rule states</p>
  
  <blockquote>
    <p>The rule uses the detection strategy described in [1]. The violations are reported against the entire class. [1] Lanza. Object-Oriented Metrics in Practice. Page 80.</p>
  </blockquote>
  
  <p>Well, I don't wont to order some book just because of its page 80.</p>
  
  <p>Btw. is there a way to configure such rule, i.e. change its parameters?</p>
  
  <p>Thanks for explanation.</p>