algolia/algoliasearch-client-ruby

View on GitHub
lib/algolia/search_client.rb

Summary

Maintainability
C
1 day
Test Coverage

Class Client has 56 methods (exceeds 20 allowed). Consider refactoring.
Open

    class Client
      include CallType
      include Helpers

      # Initialize a client to connect to Algolia
Severity: Major
Found in lib/algolia/search_client.rb - About 1 day to fix

    File search_client.rb has 283 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    require 'faraday'
    require 'openssl'
    require 'base64'
    
    module Algolia
    Severity: Minor
    Found in lib/algolia/search_client.rb - About 2 hrs to fix

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

            def custom_request(data, uri, method, call_type, opts = {})
      Severity: Minor
      Found in lib/algolia/search_client.rb - About 35 mins to fix

        There are no issues that match your filters.

        Category
        Status