lib/code_climate/test_reporter/exception_message.rb
Method has too many lines. [18/10] Open
Open
def message
parts = []
parts << "Code Climate encountered an exception: #{exception_class}"
if http_stubbing_exception
message = http_stubbing_exception.new
- Read upRead up
- Exclude checks
This cop checks if the length of a method exceeds some maximum value. Comment lines can optionally be ignored. The maximum allowed length is configurable.