openSUSE/open-build-service

View on GitHub
src/api/app/helpers/webui/request_helper.rb

Summary

Maintainability
A
1 hr
Test Coverage
D
69%

Method request_action_header has 43 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def request_action_header(action, creator)
    source_project_hash = { project: action[:sprj], package: action[:spkg], trim_to: nil }

    description = case action[:type]
                  when :submit
Severity: Minor
Found in src/api/app/helpers/webui/request_helper.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status