onddo/ssl_certificate-cookbook

View on GitHub
libraries/resource_ssl_certificate_cert.rb

Summary

Maintainability
B
5 hrs
Test Coverage

Class SslCertificate has 40 methods (exceeds 20 allowed). Consider refactoring.
Open

    class SslCertificate < Chef::Resource
      # ssl_certificate Chef Resource cert related methods.
      module Cert
        # Resource certificate attributes to be initialized by a
        # `default_#{attribute}` method.
Severity: Minor
Found in libraries/resource_ssl_certificate_cert.rb - About 5 hrs to fix

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

              key_content, cert_subject, time, ca_cert_content, ca_key_content
    Severity: Minor
    Found in libraries/resource_ssl_certificate_cert.rb - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status