Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

logo attributes, organisation attributes overhaul: https://github.com… #831

Merged
merged 12 commits into from
Nov 24, 2023

Conversation

opoudjis
Copy link
Contributor

…/metanorma/metanorma-nist/issues/103

Metanorma PR checklist

@opoudjis opoudjis self-assigned this Nov 21, 2023
end

def org_address(node, person)
node.attr("pub-address") and person.address do |ad|
def org_address(org, xml)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Assignment Branch Condition size for org_address is too high. [<7, 13, 5> 15.59/15]

end
end

def organization(org, orgname, is_pub, node = nil, default_org = nil)
def organization(org, orgname, node = nil, default_org = nil)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cyclomatic complexity for organization is too high. [7/6]

OUTPUT
expect(xmlpp(strip_guid(Asciidoctor.convert(input, *OPTIONS))))
.to be_equivalent_to xmlpp(output)
end

it "processes formatted address overridding address components" do
it "processes formatted address overridding address components; publisher attributes" do
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line is too long. [90/80]

Copy link

codecov bot commented Nov 21, 2023

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (12ccf6b) 96.60% compared to head (5e1b792) 96.61%.

Files Patch % Lines
lib/metanorma/standoc/front_contributor.rb 98.61% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #831   +/-   ##
=======================================
  Coverage   96.60%   96.61%           
=======================================
  Files          64       64           
  Lines        5248     5291   +43     
=======================================
+ Hits         5070     5112   +42     
- Misses        178      179    +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant