Maximum methods per class
I think this should only take public and maybe protected methods into account. At the moment it counts private methods too.
Nice work btw .)
I think that is a tricky question, because would you consider a class with 2-3 public methods and 10-100 private methods clean? I don't think that a class should be divided by access identifier, because the overall size of the class increases and so would the responsibility.
Yeah indeed it is tricky. Without any actual numbers I would rather tolerate 20 private methods but not 20 public ones. But 1 public method with 20 private ones seems off too.
Maybe these are two separate concerns. One is the view from the outside - the amount of public methods and the other one is the actual code size