Method has too many lines. [11/10] Open
def pipelines_credential_list
@pipelines_credential_list ||=
begin
pipe_creds = {}
- Read upRead up
- Create a ticketCreate a ticket
- 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.
Coa::ReferenceDatasetDocumentation::PipelineDocsWriter#credentials_pipeline_list has the variable name 'h' Open
creds_pipe_list = Hash.new { |h, k| h[k] = [] }
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
An Uncommunicative Variable Name
is a variable name that doesn't communicate its intent well enough.
Poor names make it hard for the reader to build a mental picture of what's going on in the code. They can also be mis-interpreted; and they hurt the flow of reading, because the reader must slow down to interpret the names.
Coa::ReferenceDatasetDocumentation::PipelineDocsWriter#credentials_pipeline_list has the variable name 'k' Open
creds_pipe_list = Hash.new { |h, k| h[k] = [] }
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
An Uncommunicative Variable Name
is a variable name that doesn't communicate its intent well enough.
Poor names make it hard for the reader to build a mental picture of what's going on in the code. They can also be mis-interpreted; and they hurt the flow of reading, because the reader must slow down to interpret the names.