Skip to content

Decrease Cyclomatic Complexity threshold to 12

What does this MR do?

  • refactor app/services/merge_requests/update_service.rb:24:5
  • decrease Cyclomatic Complexity threshold to 12

Are there points in the code the reviewer needs to double check?

Why was this MR needed?

It's fifth step for #31362 (moved)

Screenshots (if relevant)

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

#31362 (moved)

/cc @rymai @markglenfletcher @grzesiek @blackst0ne @rspeicher

Possible labels: Community Contribution backstage Edge static analysis

Merge request reports