Introducing Too Many Instance Variables code smell

Ahoy! We are happy to announce that codebeat supports a new metric and corresponding violation: Too Many Instance Variables.

It is available across all supported languages with a gradual rollout - only recently updated namespaces will receive warnings from the new metric.

Number of instance variables is a metric designed to detect classes that carry too much state, the so called God Objects. You can read more in our doc:


  • added: Too Many Instance Variables metric
  • added: