Class Roodi::Checks::MethodLineCountCheck
In: lib/roodi/checks/method_line_count_check.rb
Parent: LineCountCheck

Checks a method to make sure the number of lines it has is under the specified limit.

A method getting too large is a code smell that indicates it might be doing more than one thing and becoming hard to test. It should probably be refactored into multiple methods that each do a single thing well.

Methods

Constants

DEFAULT_LINE_COUNT = 20

Public Class methods

Public Instance methods

[Validate]