lib/aixm/feature/airspace.rb

Summary

Maintainability
A
1 hr
Test Coverage

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

      def add_to(builder)
        fail(LayerError.new("no layers defined", self)) unless layers.any?
        builder.comment "Airspace: [#{TYPES.key(type)}] #{name || :UNNAMED}".dress
        builder.text "\n"
        builder.Ase({ source: (source if AIXM.ofmx?) }.compact) do |ase|
Severity: Minor
Found in lib/aixm/feature/airspace.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status