metanorma/metanorma-ogc

View on GitHub
lib/isodoc/ogc/presentation_xml_convert.rb

Summary

Maintainability
B
5 hrs
Test Coverage

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

    class PresentationXMLConvert < IsoDoc::PresentationXMLConvert
      def initialize(options)
        @libdir = File.dirname(__FILE__)
        super
      end
Severity: Minor
Found in lib/isodoc/ogc/presentation_xml_convert.rb - About 4 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/ogc/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, ids, _id, standard, datefn, _bib)
      Severity: Minor
      Found in lib/isodoc/ogc/presentation_xml_convert.rb - About 45 mins to fix

        There are no issues that match your filters.

        Category
        Status