lib/aixm/component/runway.rb

Summary

Maintainability
A
2 hrs
Test Coverage

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

        def add_to(builder)
          builder.Rdn do |rdn|
            add_uid_to(rdn)
            rdn.geoLat(threshold_xy.lat(AIXM.schema))
            rdn.geoLong(threshold_xy.long(AIXM.schema))
Severity: Minor
Found in lib/aixm/component/runway.rb - About 1 hr to fix

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

          def add_to(builder)
            builder.Rwy do |rwy|
              add_uid_to(rwy)
              if dimensions
                rwy.valLen(dimensions.length.to_m.dim.trim)
    Severity: Minor
    Found in lib/aixm/component/runway.rb - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status