jwt/ruby-jwe

View on GitHub
lib/jwe/enc/aes_cbc_hs.rb

Summary

Maintainability
A
0 mins
Test Coverage

Method JWE::Enc::AesCbcHs#cek is defined at both lib/jwe/enc/aes_cbc_hs.rb:7 and lib/jwe/enc/aes_cbc_hs.rb:60.
Open

      def cek
Severity: Minor
Found in lib/jwe/enc/aes_cbc_hs.rb by rubocop

This cop checks for duplicated instance (or singleton) method definitions.

Example:

# bad

def duplicated
  1
end

def duplicated
  2
end

Example:

# bad

def duplicated
  1
end

alias duplicated other_duplicated

Example:

# good

def duplicated
  1
end

def other_duplicated
  2
end

Method JWE::Enc::AesCbcHs#tag is defined at both lib/jwe/enc/aes_cbc_hs.rb:9 and lib/jwe/enc/aes_cbc_hs.rb:76.
Open

      def tag
Severity: Minor
Found in lib/jwe/enc/aes_cbc_hs.rb by rubocop

This cop checks for duplicated instance (or singleton) method definitions.

Example:

# bad

def duplicated
  1
end

def duplicated
  2
end

Example:

# bad

def duplicated
  1
end

alias duplicated other_duplicated

Example:

# good

def duplicated
  1
end

def other_duplicated
  2
end

Method JWE::Enc::AesCbcHs#iv is defined at both lib/jwe/enc/aes_cbc_hs.rb:8 and lib/jwe/enc/aes_cbc_hs.rb:56.
Open

      def iv
Severity: Minor
Found in lib/jwe/enc/aes_cbc_hs.rb by rubocop

This cop checks for duplicated instance (or singleton) method definitions.

Example:

# bad

def duplicated
  1
end

def duplicated
  2
end

Example:

# bad

def duplicated
  1
end

alias duplicated other_duplicated

Example:

# good

def duplicated
  1
end

def other_duplicated
  2
end

There are no issues that match your filters.

Category
Status