wbotelhos/capybara-box

View on GitHub
lib/capybara-box/base.rb

Summary

Maintainability
A
3 hrs
Test Coverage

Class Base has 24 methods (exceeds 20 allowed). Consider refactoring.
Open

  class Base
    def initialize(parameters = {})
      @browser       = parameters.fetch(:browser) { :selenium_chrome }
      @max_wait_time = parameters[:max_wait_time]
      @parameters    = parameters
Severity: Minor
Found in lib/capybara-box/base.rb - About 2 hrs to fix

    Method arguments has 27 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        def arguments
          return @parameters[:arguments] if @parameters[:arguments]
          return [] unless chrome_family?
    
          %w[
    Severity: Minor
    Found in lib/capybara-box/base.rb - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status