ccarruitero/sunat_books

View on GitHub

Showing 10 of 14 total issues

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

      def draw_table_header(tickets, counts, total_sums, data, date)
Severity: Minor
Found in lib/sunat_books/pdf/simplified_diary.rb - About 35 mins to fix

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

          def initialize(ruc, tickets, month, year, options = {})
    Severity: Minor
    Found in lib/sunat_books/ple/base.rb - About 35 mins to fix

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

            def initialize(ruc, tickets, month, year, options = {})
      Severity: Minor
      Found in lib/sunat_books/ple/buys.rb - About 35 mins to fix

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

          def sales_entry(tickets, counts, total_sums, data, period_date)
        Severity: Minor
        Found in lib/sunat_books/pdf/diary_entries.rb - About 35 mins to fix

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

                def entries_data(tickets, counts, total_sums, data, period_date)
          Severity: Minor
          Found in lib/sunat_books/pdf/simplified_diary.rb - About 35 mins to fix

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

                  def ple_book_name(uid, ruc, month, year, *args)
            Severity: Minor
            Found in lib/sunat_books/ple/utils.rb - About 35 mins to fix

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

                    def initialize(ruc, tickets, month, year, options = {})
              Severity: Minor
              Found in lib/sunat_books/ple/sales.rb - About 35 mins to fix

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

                      def table_hash(field, ticket, tbody, widths, aligns)
                Severity: Minor
                Found in lib/sunat_books/pdf/base.rb - About 35 mins to fix

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

                    def row_data(data, widths, aligns, fields, operation)
                  Severity: Minor
                  Found in lib/sunat_books/pdf/pages_utils.rb - About 35 mins to fix

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

                      def buys_entry(tickets, counts, total_sums, data, period_date)
                    Severity: Minor
                    Found in lib/sunat_books/pdf/diary_entries.rb - About 35 mins to fix
                      Severity
                      Category
                      Status
                      Source
                      Language