clayton/sslcheck

View on GitHub
lib/sslcheck/client.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method has too many lines. [31/30]
Open

    def get(url)
      begin
        Timeout::timeout(Client.timeout_seconds) {
          uri = determine_uri(url)

Severity: Minor
Found in lib/sslcheck/client.rb by rubocop

This cop checks if the length of a method exceeds some maximum value. Comment lines can optionally be ignored. The maximum allowed length is configurable.

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

    There are no issues that match your filters.

    Category
    Status