lib/isodoc/ietf/section.rb
Method common_rfc_pis
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def common_rfc_pis(node)
rfc_pis = {
artworkdelimiter: node.at(ns("//pi/artworkdelimiter"))&.text,
artworklines: node.at(ns("//pi/artworklines"))&.text,
authorship: node.at(ns("//pi/authorship"))&.text,
Method rfc_attributes
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def rfc_attributes(docxml)
# t = Time.now.getutc
obs = xpath_comma(docxml
.xpath(ns("//bibdata/relation[@type = 'obsoletes']/bibitem/docidentifier[not(@scope)]")))
upd = xpath_comma(docxml
Method clause_parse_title
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def clause_parse_title(_node, div, clause, _out, _heading_attrs = {})