eagletmt/fast_haml

View on GitHub
lib/faml/static_hash_parser.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method try_static_value has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    def try_static_value(key_static, node, force_static: false)
      case node.type
      when :sym, :int, :float, :str, :rational, :complex
        set_static_attribute(key_static, node.children[0])
      when :true
Severity: Minor
Found in lib/faml/static_hash_parser.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status