clayton/sslcheck

View on GitHub

Showing 2 of 10 total issues

Class Certificate has 23 methods (exceeds 20 allowed). Consider refactoring.
Open

  class Certificate
    def initialize(cert, clock=nil)
      @cert = bootstrap_certificate(cert)
      @clock = clock || DateTime
    end
Severity: Minor
Found in lib/sslcheck/certificate.rb - About 2 hrs to fix

    Method get has 31 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        def get(url)
          begin
            Timeout::timeout(Client.timeout_seconds) {
              uri = determine_uri(url)
    
    
    Severity: Minor
    Found in lib/sslcheck/client.rb - About 1 hr to fix
      Severity
      Category
      Status
      Source
      Language