metanorma/isodoc

View on GitHub
lib/isodoc/presentation_function/erefs.rb

Summary

Maintainability
A
2 hrs
Test Coverage

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

  class PresentationXMLConvert < ::IsoDoc::Convert
    def citeas(xmldoc)
      xmldoc.xpath(ns("//eref | //origin | //quote/source")).each do |e|
        e["bibitemid"] && e["citeas"] or next
        a = @xrefs.anchor(e["bibitemid"], :xref, false) and e["citeas"] = a
Severity: Minor
Found in lib/isodoc/presentation_function/erefs.rb - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status