Decrease Perceived and Cyclomatic Complexity
What does this MR do?
- refactor
app/helpers/license_helper.rb:15:3
- refactor
app/helpers/tree_helper.rb:111:3
Are there points in the code the reviewer needs to double check?
Why was this MR needed?
It allows to merge these MRs:
- https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/14152
- https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/14160
Screenshots (if relevant)
Does this MR meet the acceptance criteria?
-
Changelog entry added, if necessary -
Documentation created/updated -
API support added - Tests
-
Added for this feature/bug -
All builds are passing
-
-
Conform by the merge request performance guides -
Conform by the style guides -
Branch has no merge conflicts with master
(if it does - rebase it please) -
Squashed related commits together
What are the relevant issue numbers?
- https://gitlab.com/gitlab-org/gitlab-ce/issues/31362
- https://gitlab.com/gitlab-org/gitlab-ce/issues/31358
/cc @rymai @markglenfletcher @grzesiek @blackst0ne @rspeicher
Possible labels: Community Contribution backstage Edge static analysis