af83/edwig-admin

View on GitHub
app/helpers/application_helper.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method pageheader has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def pageheader pageicon, pagetitle, desc = nil, meta = nil, mainaction = nil, &block

    firstRow = content_tag :div, '', class: 'row' do
      # Left part with pageicon & pagetitle & desc
      left = content_tag :div, '', class: 'col-lg-9 col-md-8 col-sm-7 col-xs-7' do
Severity: Minor
Found in app/helpers/application_helper.rb - About 1 hr to fix

    Method pageheader has 6 arguments (exceeds 4 allowed). Consider refactoring.
    Open

      def pageheader pageicon, pagetitle, desc = nil, meta = nil, mainaction = nil, &block
    Severity: Minor
    Found in app/helpers/application_helper.rb - About 45 mins to fix

      There are no issues that match your filters.

      Category
      Status