Bug/57305 sorting by custom field has strong impact on performance for the project list #791
reviewdog [rubocop] report
reported by reviewdog 🐶
Findings (3)
app/models/custom_field/order_statements.rb|129 col 3| Assignment Branch Condition size for join_for_order_by_list_sql is too high. [<0, 29, 2> 29.07/17]
app/models/custom_field/order_statements.rb|163 col 3| Assignment Branch Condition size for join_for_order_by_user_sql is too high. [<1, 29, 2> 29.09/17]
app/models/custom_field/order_statements.rb|199 col 3| Assignment Branch Condition size for join_for_order_by_version_sql is too high. [<0, 29, 2> 29.07/17]
Filtered Findings (0)
Annotations
Check notice on line 161 in app/models/custom_field/order_statements.rb
github-actions / rubocop
[rubocop] app/models/custom_field/order_statements.rb#L129-L161 <Metrics/AbcSize>
Assignment Branch Condition size for join_for_order_by_list_sql is too high. [<0, 29, 2> 29.07/17]
Raw output
app/models/custom_field/order_statements.rb:129:3: C: Metrics/AbcSize: Assignment Branch Condition size for join_for_order_by_list_sql is too high. [<0, 29, 2> 29.07/17]
Check notice on line 197 in app/models/custom_field/order_statements.rb
github-actions / rubocop
[rubocop] app/models/custom_field/order_statements.rb#L163-L197 <Metrics/AbcSize>
Assignment Branch Condition size for join_for_order_by_user_sql is too high. [<1, 29, 2> 29.09/17]
Raw output
app/models/custom_field/order_statements.rb:163:3: C: Metrics/AbcSize: Assignment Branch Condition size for join_for_order_by_user_sql is too high. [<1, 29, 2> 29.09/17]
Check notice on line 231 in app/models/custom_field/order_statements.rb
github-actions / rubocop
[rubocop] app/models/custom_field/order_statements.rb#L199-L231 <Metrics/AbcSize>
Assignment Branch Condition size for join_for_order_by_version_sql is too high. [<0, 29, 2> 29.07/17]
Raw output
app/models/custom_field/order_statements.rb:199:3: C: Metrics/AbcSize: Assignment Branch Condition size for join_for_order_by_version_sql is too high. [<0, 29, 2> 29.07/17]