metanorma/metanorma-standoc

View on GitHub
lib/metanorma/standoc/render.rb

Summary

Maintainability
A
2 hrs
Test Coverage

Method html_extract_attributes has 33 lines of code (exceeds 25 allowed). Consider refactoring.
Open

      def html_extract_attributes(node)
        {
          script: node.attr("script"),
          bodyfont: node.attr("body-font"),
          headerfont: node.attr("header-font"),
Severity: Minor
Found in lib/metanorma/standoc/render.rb - About 1 hr to fix

    Method doc_extract_attributes has 33 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

          def doc_extract_attributes(node)
            attrs = {
              script: node.attr("script"),
              bodyfont: node.attr("body-font"),
              headerfont: node.attr("header-font"),
    Severity: Minor
    Found in lib/metanorma/standoc/render.rb - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status