Skip to content

Chore/file link sync service refactoring #7187

Chore/file link sync service refactoring

Chore/file link sync service refactoring #7187

GitHub Actions / rubocop succeeded Jul 28, 2023 in 0s

reviewdog [rubocop] report

reported by reviewdog 🐶

Findings (0)
Filtered Findings (18)

app/components/oauth/applications/row_component.rb|34 col 1| [Correctable] Layout/EmptyLinesAroundClassBody: Extra empty line detected at class body beginning.
app/controllers/users_controller.rb|90 col 3| Metrics/AbcSize: Assignment Branch Condition size for create is too high. [<4, 17, 3> 17.72/17]
app/controllers/users_controller.rb|106 col 3| Metrics/AbcSize: Assignment Branch Condition size for update is too high. [<13, 34, 10> 37.75/17]
app/controllers/users_controller.rb|106 col 3| Metrics/PerceivedComplexity: Perceived complexity for update is too high. [11/8]
app/controllers/users_controller.rb|158 col 3| Metrics/AbcSize: Assignment Branch Condition size for change_status is too high. [<5, 42, 14> 44.55/17]
app/controllers/users_controller.rb|158 col 3| Metrics/PerceivedComplexity: Perceived complexity for change_status is too high. [14/8]
app/controllers/users_controller.rb|197 col 3| Metrics/AbcSize: Assignment Branch Condition size for resend_invitation is too high. [<4, 24, 4> 24.66/17]
app/controllers/users_controller.rb|314 col 3| Metrics/AbcSize: Assignment Branch Condition size for build_user_update_params is too high. [<3, 24, 3> 24.37/17]
app/models/custom_field.rb|183 col 3| Metrics/AbcSize: Assignment Branch Condition size for cast_value is too high. [<7, 13, 9> 17.29/17]
app/models/ldap_auth_source.rb|272 col 23| Naming/MethodParameterName: Method parameter must be at least 3 characters long.
app/models/ldap_auth_source.rb|305 col 3| Lint/IneffectiveAccessModifier: private (on line 218) does not make singleton methods private. Use private_class_method or private inside a class << self block instead.
config/constants/settings/definition.rb|1074 col 5| Metrics/AbcSize: Assignment Branch Condition size for initialize is too high. [<8, 16, 3> 18.14/17]
modules/boards/spec/features/board_overview_spec.rb|30 col 19| [Correctable] Style/RedundantCurrentDirectoryInPath: Remove the redundant current directory path.
modules/boards/spec/features/support/board_overview_page.rb|30 col 19| [Correctable] Style/RedundantCurrentDirectoryInPath: Remove the redundant current directory path.
modules/storages/spec/requests/api/v3/file_links/mixed_case_file_links_integration_spec.rb|82 col 3| RSpec/IndexedLet: This let statement uses index in its name. Please give it a meaningful name.
modules/storages/spec/requests/api/v3/file_links/mixed_case_file_links_integration_spec.rb|83 col 3| RSpec/IndexedLet: This let statement uses index in its name. Please give it a meaningful name.
modules/storages/spec/requests/api/v3/file_links/mixed_case_file_links_integration_spec.rb|85 col 3| RSpec/IndexedLet: This let statement uses index in its name. Please give it a meaningful name.
modules/storages/spec/requests/api/v3/file_links/mixed_case_file_links_integration_spec.rb|86 col 3| RSpec/IndexedLet: This let statement uses index in its name. Please give it a meaningful name.