metanorma/metanorma-standoc

View on GitHub
lib/metanorma/standoc/datamodel/plantuml_renderer.rb

Summary

Maintainability
C
1 day
Test Coverage

Class PlantumlRenderer has 42 methods (exceeds 20 allowed). Consider refactoring.
Open

    class PlantumlRenderer
      TEMPLATES_PATH = File.expand_path("../views/datamodel", __dir__).freeze

      attr_reader :yml, :plantuml_path

Severity: Minor
Found in lib/metanorma/standoc/datamodel/plantuml_renderer.rb - About 5 hrs to fix

    File plantuml_renderer.rb has 315 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    require "erb"
    
    module Metanorma
      module Datamodel
        class PlantumlRenderer
    Severity: Minor
    Found in lib/metanorma/standoc/datamodel/plantuml_renderer.rb - About 3 hrs to fix

      There are no issues that match your filters.

      Category
      Status