OpenC3/cosmos

View on GitHub
docs.openc3.com/scripts/generate_docs_from_yaml.rb

Summary

Maintainability
B
4 hrs
Test Coverage

Method build_page has 72 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def build_page(meta, page)
    modifiers = {}
    meta.each do |keyword, data|
      page << "\n#{'#' * @level} #{keyword}\n"
      if data['since']
Severity: Major
Found in docs.openc3.com/scripts/generate_docs_from_yaml.rb - About 2 hrs to fix

    Method build_parameters has 34 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      def build_parameters(parameters, page)
        page << "| Parameter | Description | Required |\n"
        page << "|-----------|-------------|----------|\n"
        parameters.each do |param|
          description = param['description']
    Severity: Minor
    Found in docs.openc3.com/scripts/generate_docs_from_yaml.rb - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status