lib/aixm/feature/airport.rb

Summary

Maintainability
B
4 hrs
Test Coverage

File airport.rb has 276 lines of code (exceeds 250 allowed). Consider refactoring.
Open

using AIXM::Refinements

module AIXM
  class Feature

Severity: Minor
Found in lib/aixm/feature/airport.rb - About 2 hrs to fix

    Method add_to has 56 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

          def add_to(builder)
            builder.comment "Airport: #{id} #{name}".dress
            builder.text "\n"
            builder.Ahp({ source: (source if AIXM.ofmx?) }.compact) do |ahp|
              ahp.comment(indented_comment) if comment
    Severity: Major
    Found in lib/aixm/feature/airport.rb - About 2 hrs to fix

      There are no issues that match your filters.

      Category
      Status