Module: RuboCop::Cop::TooManyLines

Includes:
CodeLength, ConfigurableMax
Included in:
Metrics::BlockLength, Metrics::MethodLength
Defined in:
lib/rubocop/cop/mixin/too_many_lines.rb

Overview

Common functionality for checking for too many lines.

Constant Summary collapse

MSG =
'%s has too many lines. [%d/%d]'.freeze

Method Summary

Methods included from CodeLength

#check_code_length, #count_comments?, #irrelevant_line, #max_length

Methods included from ConfigurableMax

#max=, #max_parameter_name