mongodb/mongo-ruby-driver

View on GitHub
lib/mongo/crypt/explicit_encrypter.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method rewrap_many_data_key has 32 lines of code (exceeds 25 allowed). Consider refactoring.
Open

      def rewrap_many_data_key(filter, opts = {})
        master_key_document = if opts[:provider]
          options = opts.dup
          provider = options.delete(:provider)
          KMS::MasterKeyDocument.new(provider, options)
Severity: Minor
Found in lib/mongo/crypt/explicit_encrypter.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status