Showing 5,781 of 10,536 total issues

Function generate_excel has 8 arguments (exceeds 4 allowed). Consider refactoring.
Open

def generate_excel(report,
Severity: Major
Found in myems-api/excelexporters/storesaving.py - About 1 hr to fix

    Function generate_excel has 8 arguments (exceeds 4 allowed). Consider refactoring.
    Open

    def generate_excel(report,
    Severity: Major
    Found in myems-api/excelexporters/shopfloorenergycategory.py - About 1 hr to fix

      Function generate_excel has 8 arguments (exceeds 4 allowed). Consider refactoring.
      Open

      def generate_excel(report,
      Severity: Major
      Found in myems-api/excelexporters/virtualmetercarbon.py - About 1 hr to fix

        Consider simplifying this complex logical expression.
        Open

            if 'values_saving' not in reporting_period_data.keys() or \
                    reporting_period_data['values_saving'] is None or \
                    len(reporting_period_data['values_saving']) == 0 or \
                    'timestamps' not in reporting_period_data.keys() or \
                    reporting_period_data['timestamps'] is None or \
        Severity: Major
        Found in myems-api/excelexporters/tenantplan.py - About 1 hr to fix

          Function generate_excel has 8 arguments (exceeds 4 allowed). Consider refactoring.
          Open

          def generate_excel(report,
          Severity: Major
          Found in myems-api/excelexporters/combinedequipmentcost.py - About 1 hr to fix

            Function generate_excel has 8 arguments (exceeds 4 allowed). Consider refactoring.
            Open

            def generate_excel(report,
            Severity: Major
            Found in myems-api/excelexporters/equipmentcarbon.py - About 1 hr to fix

              Function generate_excel has 8 arguments (exceeds 4 allowed). Consider refactoring.
              Open

              def generate_excel(report,
              Severity: Major
              Found in myems-api/excelexporters/virtualmetercost.py - About 1 hr to fix

                Function generate_excel has 8 arguments (exceeds 4 allowed). Consider refactoring.
                Open

                def generate_excel(report, name, reporting_start_datetime_local, reporting_end_datetime_local,
                Severity: Major
                Found in myems-api/excelexporters/microgridreportingcarbon.py - About 1 hr to fix

                  Function generate_excel has 8 arguments (exceeds 4 allowed). Consider refactoring.
                  Open

                  def generate_excel(report,
                  Severity: Major
                  Found in myems-api/excelexporters/equipmentincome.py - About 1 hr to fix

                    Function export has 8 arguments (exceeds 4 allowed). Consider refactoring.
                    Open

                    def export(report,
                    Severity: Major
                    Found in myems-api/excelexporters/storestatistics.py - About 1 hr to fix

                      Function export has 8 arguments (exceeds 4 allowed). Consider refactoring.
                      Open

                      def export(report,
                      Severity: Major
                      Found in myems-api/excelexporters/virtualmetercost.py - About 1 hr to fix

                        Function export has 8 arguments (exceeds 4 allowed). Consider refactoring.
                        Open

                        def export(report,
                        Severity: Major
                        Found in myems-api/excelexporters/equipmentcarbon.py - About 1 hr to fix

                          Function generate_excel has 8 arguments (exceeds 4 allowed). Consider refactoring.
                          Open

                          def generate_excel(report,
                          Severity: Major
                          Found in myems-api/excelexporters/combinedequipmentload.py - About 1 hr to fix

                            Function export has 8 arguments (exceeds 4 allowed). Consider refactoring.
                            Open

                            def export(report, name, reporting_start_datetime_local, reporting_end_datetime_local, base_period_start_datetime,
                            Severity: Major
                            Found in myems-api/excelexporters/microgridreportingcarbon.py - About 1 hr to fix

                              Function generate_excel has 8 arguments (exceeds 4 allowed). Consider refactoring.
                              Open

                              def generate_excel(report,
                              Severity: Major
                              Found in myems-api/excelexporters/equipmentefficiency.py - About 1 hr to fix

                                Function generate_excel has 8 arguments (exceeds 4 allowed). Consider refactoring.
                                Open

                                def generate_excel(report,
                                Severity: Major
                                Found in myems-api/excelexporters/storeload.py - About 1 hr to fix

                                  Function export has 8 arguments (exceeds 4 allowed). Consider refactoring.
                                  Open

                                  def export(report,
                                  Severity: Major
                                  Found in myems-api/excelexporters/storecarbon.py - About 1 hr to fix

                                    Function generate_excel has 8 arguments (exceeds 4 allowed). Consider refactoring.
                                    Open

                                    def generate_excel(report,
                                    Severity: Major
                                    Found in myems-api/excelexporters/tenantplan.py - About 1 hr to fix

                                      Function export has 8 arguments (exceeds 4 allowed). Consider refactoring.
                                      Open

                                      def export(report,
                                      Severity: Major
                                      Found in myems-api/excelexporters/equipmentefficiency.py - About 1 hr to fix

                                        Function generate_excel has 8 arguments (exceeds 4 allowed). Consider refactoring.
                                        Open

                                        def generate_excel(report,
                                        Severity: Major
                                        Found in myems-api/excelexporters/storecarbon.py - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language