Large Class

September 15, 2016 ยท View on GitHub

Introduction

A Large Class is a class or module that has a large number of instance variables, methods or lines of code in any one piece of its specification. (That is, this smell relates to pieces of the class's specification, not to the size of the corresponding instance of Class.)

Current Support in Reek

Reek offers three checks in this category.

  • Too Many Constants
  • Too Many Instance Variables
  • Too Many Methods

Contents

  1. 1Introduction
  2. 2Current Support in Reek