Showing 5,781 of 10,536 total issues

Avoid too many return statements within this function.
Open

            return error_string
Severity: Major
Found in myems-aggregation/space_energy_output_category.py - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

                return error_string
    Severity: Major
    Found in myems-aggregation/energy_storage_power_station_energy_discharge.py - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

          return {k: v for k, v in result.items() if start_datetime_utc <= k <= end_datetime_utc}
      Severity: Major
      Found in myems-aggregation/tariff.py - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

                    return error_string
        Severity: Major
        Found in myems-aggregation/space_energy_output_category.py - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                  return error_string
          Severity: Major
          Found in myems-aggregation/space_energy_output_category.py - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                    return error_string
            Severity: Major
            Found in myems-aggregation/energy_storage_power_station_energy_discharge.py - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                          return error_string
              Severity: Major
              Found in myems-aggregation/energy_storage_power_station_energy_discharge.py - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                    return {k: v for k, v in result.items() if start_datetime_utc <= k <= end_datetime_utc}
                Severity: Major
                Found in myems-aggregation/tariff.py - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                      return None
                  Severity: Major
                  Found in myems-aggregation/space_energy_output_category.py - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                            return list(), None, None
                    Severity: Major
                    Found in myems-api/core/utilities.py - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                          return {k: v for k, v in result.items() if start_datetime_utc <= k <= end_datetime_utc}
                      Severity: Major
                      Found in myems-api/core/utilities.py - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                                return result_rows_monthly, average, maximum
                        Severity: Major
                        Found in myems-api/core/utilities.py - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                                  return result_rows_yearly, average, maximum
                          Severity: Major
                          Found in myems-api/core/utilities.py - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                    return list()
                            Severity: Major
                            Found in myems-api/core/utilities.py - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                      return result_rows_yearly
                              Severity: Major
                              Found in myems-api/core/utilities.py - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                        return dict()
                                Severity: Major
                                Found in myems-api/core/utilities.py - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                          return result_rows_yearly, mean, median, minimum, maximum, stdev, variance
                                  Severity: Major
                                  Found in myems-api/core/utilities.py - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                            return result_rows_monthly
                                    Severity: Major
                                    Found in myems-api/core/utilities.py - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                              return result_rows_monthly, mean, median, minimum, maximum, stdev, variance
                                      Severity: Major
                                      Found in myems-api/core/utilities.py - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                                return dict()
                                        Severity: Major
                                        Found in myems-api/core/utilities.py - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language