metanorma/metanorma-iho

View on GitHub

Showing 5 of 5 total issues

Class PresentationXMLConvert has 23 methods (exceeds 20 allowed). Consider refactoring.
Open

class PresentationXMLConvert < IsoDoc::Generic::PresentationXMLConvert
def norm_ref_entry_code(ordinal, _idents, _ids, _standard, _datefn, _bib)
"[#{ordinal}]<tab/>"
end
 
 
Severity: Minor
Found in lib/isodoc/iho/presentation_xml_convert.rb - About 2 hrs to fix

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

    def norm_ref_entry_code(ordinal, _idents, _ids, _standard, _datefn, _bib)
    Severity: Minor
    Found in lib/isodoc/iho/presentation_xml_convert.rb - About 45 mins to fix

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

      def biblio_ref_entry_code(ordinal, _idents, _ids, _standard, _datefn,
      _bib)
      Severity: Minor
      Found in lib/isodoc/iho/presentation_xml_convert.rb - About 45 mins to fix

        Method xref_init has 5 arguments (exceeds 4 allowed). Consider refactoring.
        Open

        def xref_init(lang, script, _klass, labels, options)
        Severity: Minor
        Found in lib/isodoc/iho/init.rb - About 35 mins to fix

          Method output has 5 arguments (exceeds 4 allowed). Consider refactoring.
          Open

          def output(isodoc_node, inname, outname, format, options={})
          Severity: Minor
          Found in lib/metanorma/iho/processor.rb - About 35 mins to fix
            Severity
            Category
            Status
            Source
            Language