lulibrary/puree

View on GitHub
lib/puree/xml_extractor/research_output.rb

Summary

Maintainability
A
3 hrs
Test Coverage

Class ResearchOutput has 24 methods (exceeds 20 allowed). Consider refactoring.
Open

    class ResearchOutput < Puree::XMLExtractor::Resource
      include Puree::XMLExtractor::AbstractMixin
      include Puree::XMLExtractor::KeywordMixin
      include Puree::XMLExtractor::OrganisationalUnitMixin
      include Puree::XMLExtractor::OwnerMixin
Severity: Minor
Found in lib/puree/xml_extractor/research_output.rb - About 2 hrs to fix

    Method combine_metadata has 29 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

          def combine_metadata
            super
            @model.bibliographical_note = bibliographical_note
            @model.category = category
            @model.description = description
    Severity: Minor
    Found in lib/puree/xml_extractor/research_output.rb - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status