Brunomm/br_nfe

View on GitHub
lib/br_nfe/product/operation/base.rb

Summary

Maintainability
B
4 hrs
Test Coverage

Class Base has 26 methods (exceeds 20 allowed). Consider refactoring.
Open

            class Base < BrNfe::Base
                include NfXmlValue

                # Versão da NF-e que irá pegar as configurações
                attr_accessor :nfe_version
Severity: Minor
Found in lib/br_nfe/product/operation/base.rb - About 3 hrs to fix

    Method get_gateway_by_normal_operation has 28 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

                    def get_gateway_by_normal_operation                
                        case "#{ibge_code_of_issuer_uf}"
                        when '13'
                            :am
                        when '29'
    Severity: Minor
    Found in lib/br_nfe/product/operation/base.rb - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status