Showing 5,781 of 10,536 total issues

Function generate_excel has 48 lines of code (exceeds 25 allowed). Consider refactoring.
Open

def generate_excel(report,
                   name,
                   base_period_start_datetime_local,
                   base_period_end_datetime_local,
                   reporting_start_datetime_local,
Severity: Minor
Found in myems-api/excelexporters/metersaving.py - About 1 hr to fix

    Function generate_excel has 48 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    def generate_excel(report,
                       name,
                       base_period_start_datetime_local,
                       base_period_end_datetime_local,
                       reporting_start_datetime_local,
    Severity: Minor
    Found in myems-api/excelexporters/equipmentenergycategory.py - About 1 hr to fix

      Function generate_excel has 48 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

      def generate_excel(report,
                         name,
                         base_period_start_datetime_local,
                         base_period_end_datetime_local,
                         reporting_start_datetime_local,
      Severity: Minor
      Found in myems-api/excelexporters/metercost.py - About 1 hr to fix

        Function generate_excel has 48 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

        def generate_excel(report,
                           name,
                           base_period_start_datetime_local,
                           base_period_end_datetime_local,
                           reporting_start_datetime_local,
        Severity: Minor
        Found in myems-api/excelexporters/spaceplan.py - About 1 hr to fix

          Function generate_excel has 48 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

          def generate_excel(report,
                             name,
                             base_period_start_datetime_local,
                             base_period_end_datetime_local,
                             reporting_start_datetime_local,
          Severity: Minor
          Found in myems-api/excelexporters/offlinemeterenergy.py - About 1 hr to fix

            Function generate_excel has 48 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

            def generate_excel(report,
                               name,
                               base_period_start_datetime_local,
                               base_period_end_datetime_local,
                               reporting_start_datetime_local,
            Severity: Minor
            Found in myems-api/excelexporters/tenantsaving.py - About 1 hr to fix

              Function generate_excel has 48 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

              def generate_excel(report,
                                 name,
                                 base_period_start_datetime_local,
                                 base_period_end_datetime_local,
                                 reporting_start_datetime_local,
              Severity: Minor
              Found in myems-api/excelexporters/tenantcarbon.py - About 1 hr to fix

                Function generate_excel has 48 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                def generate_excel(report,
                                   name,
                                   base_period_start_datetime_local,
                                   base_period_end_datetime_local,
                                   reporting_start_datetime_local,
                Severity: Minor
                Found in myems-api/excelexporters/offlinemetercost.py - About 1 hr to fix

                  Function generate_excel has 48 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                  def generate_excel(report,
                                     name,
                                     base_period_start_datetime_local,
                                     base_period_end_datetime_local,
                                     reporting_start_datetime_local,
                  Severity: Minor
                  Found in myems-api/excelexporters/offlinemetersaving.py - About 1 hr to fix

                    Function generate_excel has 48 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                    def generate_excel(report,
                                       name,
                                       base_period_start_datetime_local,
                                       base_period_end_datetime_local,
                                       reporting_start_datetime_local,
                    Severity: Minor
                    Found in myems-api/excelexporters/storesaving.py - About 1 hr to fix

                      Function generate_excel has 48 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                      def generate_excel(report,
                                         name,
                                         base_period_start_datetime_local,
                                         base_period_end_datetime_local,
                                         reporting_start_datetime_local,
                      Severity: Minor
                      Found in myems-api/excelexporters/meterplan.py - About 1 hr to fix

                        Function generate_excel has 48 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                        def generate_excel(report,
                                           name,
                                           base_period_start_datetime_local,
                                           base_period_end_datetime_local,
                                           reporting_start_datetime_local,
                        Severity: Minor
                        Found in myems-api/excelexporters/combinedequipmentincome.py - About 1 hr to fix

                          Function generate_excel has 48 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                          def generate_excel(report,
                                             name,
                                             base_period_start_datetime_local,
                                             base_period_end_datetime_local,
                                             reporting_start_datetime_local,
                          Severity: Minor
                          Found in myems-api/excelexporters/combinedequipmentoutput.py - About 1 hr to fix

                            Function generate_excel has 48 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                            def generate_excel(report,
                                               name,
                                               base_period_start_datetime_local,
                                               base_period_end_datetime_local,
                                               reporting_start_datetime_local,
                            Severity: Minor
                            Found in myems-api/excelexporters/equipmentoutput.py - About 1 hr to fix

                              Function generate_excel has 48 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                              def generate_excel(report,
                                                 name,
                                                 base_period_start_datetime_local,
                                                 base_period_end_datetime_local,
                                                 reporting_start_datetime_local,
                              Severity: Minor
                              Found in myems-api/excelexporters/equipmentplan.py - About 1 hr to fix

                                Function generate_excel has 48 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                def generate_excel(report,
                                                   name,
                                                   base_period_start_datetime_local,
                                                   base_period_end_datetime_local,
                                                   reporting_start_datetime_local,
                                Severity: Minor
                                Found in myems-api/excelexporters/equipmentincome.py - About 1 hr to fix

                                  Function generate_excel has 48 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                  def generate_excel(report,
                                                     name,
                                                     base_period_start_datetime_local,
                                                     base_period_end_datetime_local,
                                                     reporting_start_datetime_local,
                                  Severity: Minor
                                  Found in myems-api/excelexporters/virtualmetercost.py - About 1 hr to fix

                                    Function generate_excel has 48 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                    def generate_excel(report,
                                                       name,
                                                       base_period_start_datetime_local,
                                                       base_period_end_datetime_local,
                                                       reporting_start_datetime_local,
                                    Severity: Minor
                                    Found in myems-api/excelexporters/equipmentsaving.py - About 1 hr to fix

                                      Function generate_excel has 48 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                      def generate_excel(report,
                                                         name,
                                                         base_period_start_datetime_local,
                                                         base_period_end_datetime_local,
                                                         reporting_start_datetime_local,
                                      Severity: Minor
                                      Found in myems-api/excelexporters/virtualmetercarbon.py - About 1 hr to fix

                                        Function generate_excel has 48 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                        def generate_excel(report,
                                                           name,
                                                           base_period_start_datetime_local,
                                                           base_period_end_datetime_local,
                                                           reporting_start_datetime_local,
                                        Severity: Minor
                                        Found in myems-api/excelexporters/equipmentcarbon.py - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language