Showing 5,781 of 10,536 total issues

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

def export(report,
Severity: Major
Found in myems-api/excelexporters/tenantenergyitem.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/combinedequipmentcarbon.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/combinedequipmentenergycategory.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/spaceplan.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/shopfloorstatistics.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/equipmentoutput.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/tenantenergycategory.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/meterplan.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/combinedequipmentoutput.py - About 1 hr to fix

                    Consider simplifying this complex logical expression.
                    Open

                        if 'values' not in reporting_period_data.keys() or \
                                reporting_period_data['values'] is None or \
                                len(reporting_period_data['values']) == 0 or \
                                'timestamps' not in reporting_period_data.keys() or \
                                reporting_period_data['timestamps'] is None or \
                    Severity: Major
                    Found in myems-api/excelexporters/combinedequipmentoutput.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/tenantenergycategory.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/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/equipmentplan.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/storeenergycategory.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/equipmentplan.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/combinedequipmentincome.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/shopfloorload.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/combinedequipmentefficiency.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/offlinemetersaving.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/shopfloorload.py - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language