fiedl/your_platform

View on GitHub
app/models/geo_location.rb

Summary

Maintainability
D
1 day
Test Coverage

Method country_codes_3_letters_from_2_letters has 254 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def self.country_codes_3_letters_from_2_letters
    {
      "AD" => "AND",
      "AE" => "ARE",
      "AF" => "AFG",
Severity: Major
Found in app/models/geo_location.rb - About 1 day to fix

    File geo_location.rb has 329 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    class GeoLocation < ApplicationRecord
    
      # When to perform geocoding queries (to google)
      # ==========================================================================================
    
    
    Severity: Minor
    Found in app/models/geo_location.rb - About 3 hrs to fix

      There are no issues that match your filters.

      Category
      Status