Showing 1 of 7 total issues
Method import
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def self.import(uri)
uri = URI(uri)
# find or create the URL scheme, host_name and port
scheme = URLScheme.find_or_create_by(name: uri.scheme)