alexreisner/geocoder

View on GitHub
lib/geocoder/sql.rb

Summary

Maintainability
A
3 hrs
Test Coverage

Method within_bounding_box has 6 arguments (exceeds 4 allowed). Consider refactoring.
Open

    def within_bounding_box(sw_lat, sw_lng, ne_lat, ne_lng, lat_attr, lon_attr)
Severity: Minor
Found in lib/geocoder/sql.rb - About 45 mins to fix

    Method full_distance has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        def full_distance(latitude, longitude, lat_attr, lon_attr, options = {})
    Severity: Minor
    Found in lib/geocoder/sql.rb - About 35 mins to fix

      Method approx_bearing has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Open

          def approx_bearing(latitude, longitude, lat_attr, lon_attr, options = {})
      Severity: Minor
      Found in lib/geocoder/sql.rb - About 35 mins to fix

        Method approx_distance has 5 arguments (exceeds 4 allowed). Consider refactoring.
        Open

            def approx_distance(latitude, longitude, lat_attr, lon_attr, options = {})
        Severity: Minor
        Found in lib/geocoder/sql.rb - About 35 mins to fix

          Method full_bearing has 5 arguments (exceeds 4 allowed). Consider refactoring.
          Open

              def full_bearing(latitude, longitude, lat_attr, lon_attr, options = {})
          Severity: Minor
          Found in lib/geocoder/sql.rb - About 35 mins to fix

            There are no issues that match your filters.

            Category
            Status